{"answers":{"affected":"3 open source packages ship an affected version, including flawfinder.","exploited":"There is no known exploitation of CVE-2026-48813 in the wild and no public exploit code.","fix":"Upgrade flawfinder to 2.0.20 or later.","what":"CVE-2026-48813 is a high-severity vulnerability in david-a-wheeler flawfinder, published on 11 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-48813 and fix it if it is affected.\n\nWhat it is: CVE-2026-48813 is a high-severity vulnerability in david-a-wheeler flawfinder, published on 11 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-48813 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- flawfinder (PyPI): affected all versions; fixed in 2.0.20\n- flawfinder (PyPI): affected all versions; fixed in 2.0.20\n- flawfinder (PyPI): affected all versions; fixed in 2.0.20\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-48813/ (Markdown: https://insights.sbomify.com/CVE-2026-48813/index.md)","id":"CVE-2026-48813","markdown":"https://insights.sbomify.com/CVE-2026-48813/index.md","name":"CVE-2026-48813","record":{"aliases":["GHSA-4c3c-r6p8-c863","PYSEC-2026-2480","UBUNTU-CVE-2026-48813"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Static analysis tool","requires_auth":"none","summary":"Attackers can manipulate Flawfinder output via malicious filenames or code, corrupting reports and injecting escape sequences or XML.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"Flawfinder is a a static analysis tool for finding vulnerabilities in C/C++ source code. Versions prior to 2.0.20 have an improper input neutralization issue leading to output manipulation, specifically, Terminal/ANSI Escape Sequence Injection and XML Injection. A malicious file whose name contains ANSI escape sequences can end up being included in flawfinder's standard terminal output, with many effects. Untrusted fields (such as filenames, categories, or code context text) were not properly sanitized when generating structured reports. An attacker could exploit this to corrupt CSV formats or inject arbitrary XML attributes into SonarQube outputs via output_sonar(). It impacts those who use flawfinder to evaluate intentionally malicious filenames or file contents. This issue has been fully patched in Version 2.0.20 (released 2026-05-16). There is no configuration-based workaround within older versions of flawfinder. If an immediate upgrade is not possible, users can mitigate the risk by pre-scanning filenames, inspecting raw output, and/or restricting untrusted inputs.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2026-05-17","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-17T20:42:53Z","kind":"github_poc","ref":"https://github.com/7alen7/CVE-2026-48813-POC","stars":1,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Flawfinder output manipulation via untrusted filenames and source text","id":"CVE-2026-48813","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Network-AI: Empty default secret still authorizes all requests (Incomplete fix for CVE-2026-46701)","id":"CVE-2026-48814"},"packages":[{"ecosystem":"PyPI","fixed":["2.0.20"],"introduced":["0"],"last_affected":[],"package":"flawfinder","purl":null,"source":"GHSA-4c3c-r6p8-c863"},{"ecosystem":"PyPI","fixed":["2.0.20"],"introduced":["0"],"last_affected":[],"package":"flawfinder","purl":"pkg:pypi/flawfinder","source":"GHSA-4c3c-r6p8-c863"},{"ecosystem":"PyPI","fixed":["2.0.20"],"introduced":["0"],"last_affected":[],"package":"flawfinder","purl":"pkg:pypi/flawfinder","source":"PYSEC-2026-2480"}],"prev":{"headline":"FreeScout Allows Unauthenticated Access to Legacy Attachment Files","id":"CVE-2026-48812"},"products":["flawfinder"],"published":"2026-08-11","related":[],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-12","vendors":["david-a-wheeler"]},"summary":"Attackers can manipulate Flawfinder output via malicious filenames or code, corrupting reports and injecting escape sequences or XML.","url":"https://insights.sbomify.com/CVE-2026-48813/"}