{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-16770 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-16770 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-16770 is a critical command injection vulnerability in MITHALDU PDF::WebKit, published on 12 Aug 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-16770 and fix it if it is affected.\n\nWhat it is: CVE-2026-16770 is a critical command injection vulnerability in MITHALDU PDF::WebKit, published on 12 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-16770 in the wild and no public exploit code.\n\nAffected product: MITHALDU PDF::WebKit. 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-16770/ (Markdown: https://insights.sbomify.com/CVE-2026-16770/index.md)","id":"CVE-2026-16770","markdown":"https://insights.sbomify.com/CVE-2026-16770/index.md","name":"CVE-2026-16770","record":{"aliases":["GHSA-6f7m-6567-58mj"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl PDF library","requires_auth":"none","summary":"Attackers can inject wkhtmltopdf arguments via HTML meta tags to read local files or write to arbitrary paths when rendering untrusted HTML.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CPANSec","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"PDF::WebKit versions through 1.2 for Perl allow argument injection into wkhtmltopdf via meta tags in the source document.\n\nFor an HTML string or file source, the constructor collects every \u003cmeta name=\"pdf-webkit-KEY\" content=\"VALUE\"\u003e element in the document head through _pdf_webkit_meta_tags and turns each one into a wkhtmltopdf command line option. KEY is normalized to an option name matching --[a-z0-9-]+ but is not checked against an allow list, VALUE is passed through unchanged as the argument that follows it, and a VALUE of \"yes\" emits the option as a bare flag. BUILD merges the meta derived options last, so they also override the module defaults and the options passed to new. Switches such as --enable-local-file-access and --cookie-jar are reachable this way. The renderer is executed with an argument list rather than a shell command, so this is argument injection and not shell injection.\n\nAny caller that renders untrusted HTML lets the document choose the renderer's options and override those set by the application, including options that read local files into the resulting PDF or write to a chosen path. A URL source is not scanned, and the scan is skipped when XML::LibXML, a recommended dependency, is not installed.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Command injection in PDF::WebKit","id":"CVE-2026-16770","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"CVE-2026-16771","id":"CVE-2026-16771"},"packages":[],"prev":{"headline":"RS9116W/SiWx917 plaintext pause encryption request causes DOS","id":"CVE-2026-16769"},"products":["PDF::WebKit"],"published":"2026-08-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-13","vendors":["MITHALDU"]},"summary":"Attackers can inject wkhtmltopdf arguments via HTML meta tags to read local files or write to arbitrary paths when rendering untrusted HTML.","url":"https://insights.sbomify.com/CVE-2026-16770/"}