Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2026-34990: CUPS temporary-printer administrative token disclosure and local privilege escalation

Published Apr 3, 2026 · Updated 24 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.0Medium · v4
EPSS0.29%22nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Openprinting
IdentifiersCVE-2026-34990CWE-863

CVE-2026-34990 is an authorization vulnerability affecting OpenPrinting CUPS 2.4.16 and earlier. A local unprivileged user can create a temporary printer targeting an attacker-controlled loopback IPP service and induce the CUPS scheduler, cupsd, to disclose a reusable Local administrative authentication token. Replaying this token over loopback permits administrative operations. The attacker can then combine CUPS-Create-Local-Printer with printer-is-shared=true and race background printer validation to persist a file-backed queue despite the normal FileDevice restriction. Printing through that queue allows arbitrary file creation or overwrite with root privileges, enabling local privilege escalation.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises CUPS administrative authorization and permits attacker-controlled file creation or truncation as root. Modification of security-sensitive configuration can lead to root command execution and complete host compromise; overwriting critical files can also disrupt services. A proof of concept demonstrates privilege escalation by creating a sudoers configuration fragment. Chaining this vulnerability with CVE-2026-34980 extends the attack to unauthenticated remote adversaries when a network-accessible shared PostScript queue provides the initial code-execution foothold.

Mitigation

If you can’t patch tonight, do this now.

Enforce SELinux, AppArmor, or equivalent CUPS confinement to restrict writes to sensitive system files and limit the impact of the root file-write primitive. To reduce exposure to the remote attack chain, remove unnecessary CUPS network exposure, disable unneeded shared PostScript queues, and require authentication for shared-queue submissions. These network controls do not eliminate the standalone local vulnerability, which works with the default CUPS configuration.

Remediation

Patch, then assume compromise.

Upgrade to CUPS 2.4.17 or a later supported release containing the security fixes, or install the applicable distribution-provided patched package. Vendor backports may retain an older upstream version number, so verify coverage for CVE-2026-34990 against the distribution advisory. Patched packages are identified for TuxCare-supported Rocky Linux 9.6 under CLSA-2026-1785836378 and AlmaLinux 9.2 under CLSA-2026-1786675343.

Public exploits

Exploits

12 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2026-34990-cups-lpeThe supplied repository contains five files: a standalone Python exploit, a Python unittest module, a README, and two Git configuration files. The listed file sizes total 33,538 bytes; the repository URL, git reference, and archive size were not supplied, so their corresponding fields are unknown placeholders. No external exploitation framework or third-party Python dependencies are identified. The documented chain first creates a temporary local printer pointing to an attacker-controlled loopback IPP listener. A Local trc="y" authentication challenge reportedly causes cupsd to disclose its root Local authentication token. The exploit then races authenticated printer modifications against temporary-printer handling to retain a shared raw printer with a file-backed destination. Those persistence requests omit the device-uri attribute that ordinary administrative requests would reject under FileDevice No. A gzip-compressed raw print job then supplies the bytes written by root cupsd. The README identifies CUPS 2.4.17 as fixed; the CVE and version claims were not independently verified. Visible source implements IPP encoding, HTTP response parsing, Unix-socket or TCP transport, Local-token authorization, root-execution verification, and cleanup. The default documented behavior is a harmless temporary-file proof; optional modes support a sudoers escalation proof and explicitly acknowledged custom file writes. Cleanup deletes created queues and removes proof artifacts unless retention is requested. Custom targets are intentionally not deleted automatically. The scoped rm invocation is consistent with cleanup, not evidence of a destructive fake exploit. Four tests cover HTTP/IPP parsing, fake-listener authentication and token capture, queue-name generation, and verification fallback to root ownership plus expected file size when content cannot be read. That metadata fallback is weaker than exact-content verification. The central portion of cupsploit.py is truncated in the supplied material, including much of the race and payload implementation. Consequently, the complete exploit chain cannot be validated from the visible source, and endpoint extraction is limited to the supplied excerpts and clearly identified documentation. No execution or live vulnerability verification was performed.TRX-0 · Disclosed Aug 24, 2026 · python · localOperationalCVE-2026-34990-pocThis four-file repository contains an Apache-licensed Python local privilege-escalation PoC for CVE-2026-34990 affecting CUPS 2.4.16. README.md and docs.md document the intended chain, prerequisites, race behavior, and defensive indicators; exploit.py is the sole code file and execution entry point. The script constructs raw IPP-over-HTTP requests, operates against CUPS on loopback port 631, and starts a loopback listener on port 9189. It is intended to provoke a Local authentication exchange, return a 401 WWW-Authenticate: Local challenge, capture an Authorization: Local token, and reuse that token against CUPS administration. It then performs CUPS-Create-Local-Printer and repeated CUPS-Add-Modify-Printer, CUPS-Accept-Jobs, Resume-Printer, and Print-Job operations to race a file:// device-URI primitive into writing a privileged file. The embedded sudoers payload is hard-coded for user aporter despite configurable attacker and target environment variables. A resulting file is tested via passwordless sudo before opening a root bash shell. This is not a detection-only script and contains a functional exploit design, but the supplied source omits import os while reading os.environ, making the exact submitted version fail immediately unless that import is added.0xc4rc3l · Disclosed Sep 27, 2026 · python · markdown · localOperationalCVE-2026-34990This three-file repository contains a GPLv2 license, a detailed README, and one Python 3 exploit entry point (`exploit.py`). It is a standalone, raw-socket IPP local privilege-escalation exploit rather than a Metasploit, Nuclei, or similar framework module. The code targets a locally reachable root cupsd, defaulting to 127.0.0.1:631, and starts a rogue loopback IPP service on 127.0.0.1:9189. It coerces cupsd into validating an attacker-controlled IPP printer, responds with an HTTP 401 `WWW-Authenticate: Local` challenge, and captures the Local authorization token cupsd sends on retry. The token is replayed to CUPS `/admin/` operations to create/manage a persistent `file://` printer queue, then a raw gzip-compressed `Print-Job` is sent to write controlled bytes to a filesystem path with root privileges. Its default primary outcome is a NOPASSWD sudoers fragment for the current user (or ATTACKER override), followed by `sudo -n id` verification. If that fails, it attempts a cron-based fallback that copies `/etc/shadow` to `/tmp/shadow-<user>`. Configuration is supplied through environment variables for the target/capture hosts and ports, target user, and write paths. The README claims the issue is CVE-2026-34990 affecting CUPS through 2.4.16 and fixed in 2.4.17; those version and vulnerability claims are repository-provided assertions.gbuyssens · Disclosed Sep 27, 2026 · python · markdown · local · network · fileOperationalCVE-2026-34990-pocThe repository contains a README and one Python 3 executable, cve-2026-34990.py. It is a standalone local privilege-escalation exploit/PoC for CVE-2026-34990 affecting CUPS 2.4.16, not a framework module. The script manually constructs IPP binary requests and wraps them in HTTP, communicates only with a CUPS instance on the loopback interface, and runs a local threaded token server as part of the race. It issues CUPS printer-management and print-job operations, including Create-Local-Printer, Resume-Printer, Add/Modify-Printer, Accept-Jobs, Print-Job, and Delete-Printer. The intended chain is to capture a leaked Local authorization token, use it in crafted requests, and race CUPS into writing a root-owned file. A --check path verifies the write primitive using a proof file; normal operation attempts a temporary sudoers-file write to invoke a chosen command or root shell. The code includes configurable CUPS and listener ports, proof directory, attempt count, and race iterations, and has cleanup logic for generated queues, proof artifacts, and the sudoers entry. The supplied material indicates actual exploitation capability rather than a detection-only script, although successful exploitation is timing-dependent and constrained to a vulnerable local CUPS service.DENNISDGR · Disclosed Sep 27, 2026 · python · markdown · local · networkOperationalCVE-2026-34990The repository contains a README and a standalone Python 3 proof-of-concept, poc.py, with no external dependencies beyond the standard library. It targets the claimed CVE-2026-34990 local privilege-escalation condition in CUPS <= 2.4.16. The PoC implements IPP serialization manually, starts a loopback rogue IPP server on 127.0.0.1:9189, and submits a CUPS-Create-Local-Printer request that points a device URI at that listener. The listener first returns a Local authentication challenge and records the Local authorization token when cupsd retries. It then uses the captured token for CUPS administrative operations to create a persistent raw printer whose device URI is file:///etc/sudoers.d/<user>-pwn. Finally, it submits a gzip-compressed raw IPP print job containing a NOPASSWD sudo rule and checks whether sudo -n id returns root. The README documents the intended execution flow and expected passwordless-sudo result.predyy · Disclosed Sep 27, 2026 · python · markdown · local · networkOperationalCVE-2026-34990-pocThis two-file repository contains a README and a standalone Python 3 exploit for the claimed CVE-2026-34990 CUPS 2.4.16 local privilege-escalation issue. `exploit.py` manually constructs IPP messages and sends them over HTTP to the local cupsd service. It starts a threaded fake IPP listener on loopback port 9189, invokes the installed `ipptool` local-printer test against it, and captures the `Authorization: Local` token supplied by CUPS. The captured token is then used for CUPS administrative operations, including creation and configuration of a local printer whose device URI is a `file://` path. The exploit submits a gzip-compressed raw print job intended to be decompressed and written by cupsd to the selected path. Its default target is a sudoers drop-in, and its hardcoded content grants user `aporter` unrestricted passwordless sudo. The script retries the printer-creation/write race up to 12 times, removes any prior target file where permitted, checks whether the target was created, verifies sudo access, and launches a root Bash shell if successful. It is an operational local exploit rather than a detection utility; its effective privilege-escalation payload is basic and hardcoded.khush-613 · Disclosed Sep 27, 2026 · python · markdown · local · networkOperationalCVE-2026-34990-pocThis three-file repository contains a single operational Python 3 local-privilege-escalation PoC, a detailed Markdown README, and an MIT license. CVE-2026-34990.py is a standalone, standard-library-only program with IPP/HTTP request construction, a temporary loopback IPP listener, token capture logic, CUPS printer-management requests, and cleanup handling. It asks local cupsd to access an attacker-controlled IPP URI, responds with a Local-authentication challenge, captures the returned Authorization: Local token, then replays that token to CUPS administrative endpoints. The exploit uses the resulting access to configure a temporary file:// printer and submit a controlled document, aiming to make root-owned cupsd write to a selected path. Its --check mode is a non-persistent validation path that verifies the root-owned file-write primitive; normal mode uses a sudoers-file payload and sudo to obtain root command execution. The code targets only loopback CUPS and does not depend on an external exploit framework.bara-almustafa · Disclosed Sep 28, 2026 · python · localOperationalCVE-2026-34990-CUPS-LPE-PoCThis two-file repository contains a README and a standalone Python 3 local privilege-escalation proof of concept targeting the claimed CVE-2026-34990 in CUPS 2.4.16. The Python entry point first starts a loopback HTTP/IPP listener on port 9189, then invokes ipptool against the local CUPS service to create a temporary printer pointing to that listener. It parses the resulting outbound request for an `Authorization: Local` token. The code reuses that token against CUPS administrative IPP operations while racing creation and activation of dynamically named printer queues. It configures each queue with a `file:///etc/sudoers.d/<user>-pwn` device URI and submits a gzip-compressed raw document containing a passwordless sudo rule for the current user. It performs up to 12 queue-creation attempts and 80 administrative/print iterations per attempt, checking after each iteration whether `sudo -n id` succeeds. The code is operational exploit code rather than a scanner: it performs local socket connections and invokes an external CUPS utility, has a concrete escalation payload, and does not target remote hosts. Its hardcoded loopback endpoints and user-derived sudoers destination make it intended for execution on the local CUPS host.Noorkhalel · Disclosed Sep 28, 2026 · python · markdown · localOperationalcve-2026-34990-POCThe repository contains a Python 3 proof-of-concept exploit (`CVE-2026-34990.py`) and a short README. It is a local CUPS privilege-escalation implementation rather than a scanner or a framework module. The script uses only Python standard-library modules and is intended to run as an unprivileged local user. The exploit starts a rogue IPP listener on 127.0.0.1:9189, then sends CUPS IPP Create-Local-Printer requests to the loopback cupsd service on port 631. The malicious printer's device URI points to the rogue listener. The listener initially sends an HTTP 401 Local-authentication challenge and then extracts the `Authorization: Local <token>` header when cupsd retries. With that token, the script sends authenticated administrative IPP operations to `/admin/` to create and enable a persistent raw printer whose `file://` device URI targets `/etc/sudoers.d/<user>-pwn`. Finally, it submits up to three gzip-compressed raw print jobs containing `<user> ALL=(ALL) NOPASSWD: ALL`, attempting to cause cupsd to write that sudoers fragment as root. It validates successful escalation using `sudo -n id`. The README describes the same token-disclosure, localhost callback, file-backend, and privilege-escalation flow, but the Python file contains the operational exploit logic. No external network hosts are contacted; all network activity targets loopback endpoints.offesivezapper · Disclosed Sep 28, 2026 · python · markdown · localOperationalCVE-2026-34990-POCThe repository consists of one standalone Python 3 exploit script and a short README. The script implements a local CUPS privilege-escalation chain: it starts a rogue loopback IPP service on TCP/9189, asks cupsd on TCP/631 to validate a printer whose device URI points to that service, answers an initial request with an HTTP Local-authentication challenge, and extracts the Local token from a retry. It then uses the token in authenticated IPP administration requests to create a persistent raw printer backed by a file:// URI targeting /etc/sudoers.d/, enables the queue, and submits gzip-compressed content that grants the current user passwordless sudo. The script finally runs `sudo -n id` to check whether escalation succeeded. It uses only Python standard-library modules, constructs IPP messages manually, has no external framework dependency, and contains a hardcoded but user-specific privilege-escalation payload.OffensiveBias20 · Disclosed Sep 28, 2026 · python · markdown · local · networkOperationalCVE-2026-34990The repository contains a Python proof-of-concept (`CVE-2026-34990.py`) and a README. It is a standalone, non-framework local privilege-escalation exploit targeting the stated CUPS vulnerability rather than a detection-only script. The script starts a loopback IPP/HTTP listener on port 9189, submits an unauthenticated CUPS-Create-Local-Printer request to local CUPS on port 631, and parses the inbound `Authorization: Local` header to steal a reusable administrative token. It then creates a printer with a `file:///etc/sudoers.d/aporter` device URI, repeatedly promotes/enables it through token-authenticated `/admin/` IPP operations to win a race, and sends a gzip-compressed raw print job containing a sudoers rule. Successful execution writes a root-controlled sudoers fragment granting `aporter` unrestricted passwordless sudo, then attempts to delete the temporary printer. The README describes the claimed affected range as OpenPrinting CUPS 2.4.16 and earlier.ungabunga-ctf · Disclosed Sep 28, 2026 · python · markdown · local · networkOperationalcups-2.4.16-lpeThis is a small standalone Python repository containing one exploit program, cups_pwn.py, plus documentation, licensing, security-policy, ignore, and dependency files. It has no third-party dependencies and uses Python standard-library modules for sockets, IPP message construction/parsing, gzip compression, threading, and subprocess execution. The exploit targets the claimed CUPS 2.4.16 local privilege-escalation issue CVE-2026-34990 / GHSA-c54j-2vqw-wpwp. It starts a loopback fake IPP service, sends CUPS-Create-Local-Printer requests to the local CUPS IPP listener, captures a Local authorization token, and reuses that token to configure a file:// device URI. It then prints a compressed sudoers document so the privileged CUPS service writes a passwordless-sudo rule. CLI options select the target username, destination sudoers path, capture port, and CUPS IPP port; the script retries printer creation and validates success with noninteractive sudo.mrdebora · Disclosed Sep 29, 2026 · python · local · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
OpenprintingCupsapplication
FAQ

Frequently asked questions

Is CVE-2026-34990 exploited in the wild?
As of Oct 24, 2026, Mallory has no reports of CVE-2026-34990 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-34990?
Yes. Mallory tracks 12 public exploits or proofs of concept for CVE-2026-34990, the earliest disclosed Aug 24, 2026.
Is there a patch for CVE-2026-34990?
Upgrade to CUPS 2.4.17 or a later supported release containing the security fixes, or install the applicable distribution-provided patched package. Vendor backports may retain an older upstream version number, so verify coverage for CVE-2026-34990 against the distribution advisory.
What products are affected by CVE-2026-34990?
Openprinting Cups.
How severe is CVE-2026-34990?
CVE-2026-34990 has a CVSS v4 score of 5.0 (Medium) and an EPSS score of 0.29% (22nd percentile) as of Oct 24, 2026.
Activity feed

Recent activity

19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Sep 30, 2026Rocky Linux 9.6 [TuxCare] Security Update: cups / cups-client ... | Tenable®A moderate-severity local vulnerability addressed by the referenced Rocky Linux 9.6 security update. Successful exploitation requires low privileges and can result in high confidentiality, integrity, and availability impact; exploits are reported as available.Read more ↗tenable nessus pluginsNews · Sep 30, 2026AlmaLinux 9.2 [TuxCare] Security Update: cups / cups-client / ... | Tenable®A moderate-severity, locally exploitable vulnerability affecting an unspecified component in AlmaLinux 9.2. The supplied CVSS v3 vector requires low privileges and indicates high impact to confidentiality, integrity, and availability; exploit code is reported as available.Read more ↗codebyNews · Jul 7, 2026CUPS RCE уязвимость: от UDP-пакета до shellБолее поздняя уязвимость в экосистеме CUPS, упомянутая как пример продолжающихся архитектурных проблем; позволяет локальному непривилегированному пользователю заставить cupsd аутентифицироваться к атакующему IPP-сервису.Read more ↗scworldNews · May 14, 2026You’re not going to patch your way out of this - PSW #926 | SC MediaA CUPS vulnerability that was chained with CVE-2026-34980 to achieve unauthenticated remote code execution and root file overwrite.Read more ↗
+6 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity9Community discussion across Reddit, Mastodon, and other social sources.