{"answers":{"affected":"2 open source packages ship an affected version, including pdf-image. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-26830 exists.","fix":"No fix has been published for CVE-2026-26830 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-26830 is a critical command injection vulnerability in n/a, published on 25 Mar 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-26830 and fix it if it is affected.\n\nWhat it is: CVE-2026-26830 is a critical command injection vulnerability in n/a, published on 25 Mar 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-26830 exists.\n\nAffected packages and fixed versions:\n- pdf-image (npm): affected all versions up to 2.0.0; no fix listed\n- pdf-image (npm): affected all versions up to 2.0.0; no fix listed\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-26830/ (Markdown: https://insights.sbomify.com/CVE-2026-26830/index.md)","id":"CVE-2026-26830","markdown":"https://insights.sbomify.com/CVE-2026-26830/index.md","name":"CVE-2026-26830","record":{"aliases":["GHSA-q5mh-72xg-628w"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js PDF library","requires_auth":"none","summary":"Attackers can execute arbitrary OS commands by manipulating the pdfFilePath parameter in the pdf-image npm package.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pdf-image","vendor":"pdf-image_project"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"pdf-image (npm package) through version 2.0.0 allows OS command injection via the pdfFilePath parameter. The constructGetInfoCommand and constructConvertCommandForPage functions use util.format() to interpolate user-controlled file paths into shell command strings that are executed via child_process.exec()","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-03-24","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-03-24T16:06:40Z","kind":"github_poc","ref":"https://github.com/zebbernCVE/npm-cve-2026-26830-26833","stars":1,"title":"Directory page for CVE-2026-26830 through CVE-2026-26833 advisories"},{"date":"2026-03-24T16:15:10Z","kind":"github_poc","ref":"https://github.com/zebbernCVE/CVE-2026-26830","stars":0,"title":"Advisory for pdf-image ⌯⌲ 10 000 weekly downloads"}],"tier":"weaponised"},"has_fix":false,"headline":"pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter","id":"CVE-2026-26830","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"textract is vulnerable to OS Command Injection","id":"CVE-2026-26831"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["2.0.0"],"package":"pdf-image","purl":null,"source":"GHSA-q5mh-72xg-628w"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["2.0.0"],"package":"pdf-image","purl":"pkg:npm/pdf-image","source":"GHSA-q5mh-72xg-628w"}],"prev":{"headline":"Null dereference in n/a","id":"CVE-2026-26829"},"products":["n/a"],"published":"2026-03-25","related":[{"cvss_score":9.8,"headline":"Improper Input Validation and Code Injection in pdf-image","id":"CVE-2020-8132","kev_date_added":null,"published":"2020-02-28"},{"cvss_score":9.8,"headline":"Command Injection in pdf-image","id":"CVE-2018-3757","kev_date_added":null,"published":"2018-06-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-27","vendors":["n/a"]},"summary":"Attackers can execute arbitrary OS commands by manipulating the pdfFilePath parameter in the pdf-image npm package.","url":"https://insights.sbomify.com/CVE-2026-26830/"}