{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2025-59689 in the wild since at least 29 Sep 2025.","fix":"No fix has been published for CVE-2025-59689 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 20 Oct 2025.","what":"CVE-2025-59689 is a medium-severity command injection vulnerability in Libraesva Email Security Gateway, published on 19 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-59689 and fix it if it is affected.\n\nWhat it is: CVE-2025-59689 is a medium-severity command injection vulnerability in Libraesva Email Security Gateway, published on 19 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2025-59689 in the wild since at least 29 Sep 2025.\n\nAffected product: Libraesva Email Security Gateway. 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-2025-59689/ (Markdown: https://insights.sbomify.com/CVE-2025-59689/index.md)","id":"CVE-2025-59689","markdown":"https://insights.sbomify.com/CVE-2025-59689/index.md","name":"CVE-2025-59689","record":{"aliases":["GHSA-363h-22w6-hcrm"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Email Security Gateway","requires_auth":"none","summary":"Attackers can execute arbitrary commands via malicious compressed email attachments in Libraesva ESG, requiring an upgrade to patched versions.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"email_security_gateway","vendor":"libraesva"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Libraesva ESG 4.5 through 5.5.x before 5.5.7 allows command injection via a compressed e-mail attachment. For ESG 5.0 a fix has been released in 5.0.31. For ESG 5.1 a fix has been released in 5.1.20. For ESG 5.2 a fix has been released in 5.2.31. For ESG 5.4 a fix has been released in 5.4.8. For ESG 5.5. a fix has been released in 5.5.7.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"Libraesva Email Security Gateway Command Injection","id":"CVE-2025-59689","indexable":true,"kev":{"dateAdded":"2025-09-29","dueDate":"2025-10-20","knownRansomwareCampaignUse":"Unknown","product":"Email Security Gateway","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"Libraesva","vulnerabilityName":"Libraesva Email Security Gateway Command Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Information disclosure in PureVPN","id":"CVE-2025-59691"},"packages":[],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2025-59687"},"products":["Email Security Gateway"],"published":"2025-09-19","related":[],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Libraesva"]},"summary":"Attackers can execute arbitrary commands via malicious compressed email attachments in Libraesva ESG, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2025-59689/"}