{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34978 exists.","fix":"No fix published yet.","what":"CVE-2026-34978 is a medium-severity path traversal vulnerability in OpenPrinting cups, published on 3 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-34978 and fix it if it is affected.\n\nWhat it is: CVE-2026-34978 is a medium-severity path traversal vulnerability in OpenPrinting cups, published on 3 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34978 exists.\n\nAffected product: OpenPrinting cups. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34978/ (Markdown: https://insights.sbomify.com/CVE-2026-34978/index.md)","id":"CVE-2026-34978","markdown":"https://insights.sbomify.com/CVE-2026-34978/index.md","name":"CVE-2026-34978","record":{"aliases":["ALPINE-CVE-2026-34978","AZL-81819","BELL-CVE-2026-34978","DEBIAN-CVE-2026-34978","ECHO-6ed2-4f33-7d2a","GHSA-f53q-7mxp-9gcr","ROOT-OS-DEBIAN-12-CVE-2026-34978","ROOT-OS-DEBIAN-13-CVE-2026-34978","UBUNTU-CVE-2026-34978"],"analysis":{"component_type":"server_software","fix_type":"no_fix_stated","impacts":["data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"CUPS printing system","requires_auth":"none","summary":"Remote attackers can exploit path traversal in CUPS RSS notifier to write files outside the cache directory, potentially corrupting job state and causing denial of service.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cups","vendor":"openprinting"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, the RSS notifier allows .. path traversal in notify-recipient-uri (e.g., rss:///../job.cache), letting a remote IPP client write RSS XML bytes outside CacheDir/rss (anywhere that is lp-writable). In particular, because CacheDir is group-writable by default (typically root:lp and mode 0770), the notifier (running as lp) can replace root-managed state files via temp-file + rename(). This PoC clobbers CacheDir/job.cache with RSS XML, and after restarting cupsd the scheduler fails to parse the job cache and previously queued jobs disappear. At time of publication, there are no publicly available patches.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal in cups","id":"CVE-2026-34978","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"OpenPrinting CUPS: Heap overflow in `get_options()`","id":"CVE-2026-34979"},"packages":[],"prev":{"headline":"Aperi'Solve Affected by Unauthenticated RCE via JPSeek Analyzer Command","id":"CVE-2026-34977"},"products":["cups"],"published":"2026-04-03","related":[{"cvss_score":8,"headline":"cups has Authentication bypass with AuthType Negotiate","id":"CVE-2025-58060","kev_date_added":null,"published":"2025-09-11"},{"cvss_score":6.5,"headline":"cups: Remote DoS via null dereference","id":"CVE-2025-58364","kev_date_added":null,"published":"2025-09-11"},{"cvss_score":6.1,"headline":"OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network","id":"CVE-2026-34980","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":6,"headline":"OpenPrinting CUPS vulnerable to stack based out-of-bound write","id":"CVE-2025-61915","kev_date_added":null,"published":"2025-11-29"},{"cvss_score":5.7,"headline":"CUPS copy_model() creates a predictable PPD tempfile without O_EXCL/O_NOFOLLOW (symlink TOCTOU, lp → root)","id":"CVE-2026-55480","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":5.3,"headline":"OpenPrinting CUPS: root-side banner file disclosure","id":"CVE-2026-61702","kev_date_added":null,"published":"2026-10-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-06","vendors":["OpenPrinting"]},"summary":"Remote attackers can exploit path traversal in CUPS RSS notifier to write files outside the cache directory, potentially corrupting job state and causing denial of service.","url":"https://insights.sbomify.com/CVE-2026-34978/"}