{"answers":{"affected":"4 open source packages ship an affected version, including @agenticmail/api and @agenticmail/core.","exploited":"There is no known exploitation of CVE-2026-47255 in the wild and no public exploit code.","fix":"Upgrade @agenticmail/api to 0.9.32 or later.","what":"CVE-2026-47255 is a high-severity SQL injection vulnerability in @agenticmail/api, published on 20 Jul 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-47255 and fix it if it is affected.\n\nWhat it is: CVE-2026-47255 is a high-severity SQL injection vulnerability in @agenticmail/api, published on 20 Jul 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-47255 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @agenticmail/api (npm): affected all versions; fixed in 0.9.32\n- @agenticmail/api (npm): affected all versions; fixed in 0.9.32\n- @agenticmail/core (npm): affected all versions; fixed in 0.9.10\n- @agenticmail/core (npm): affected all versions; fixed in 0.9.10\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-47255/ (Markdown: https://insights.sbomify.com/CVE-2026-47255/index.md)","id":"CVE-2026-47255","markdown":"https://insights.sbomify.com/CVE-2026-47255/index.md","name":"CVE-2026-47255","record":{"aliases":["GHSA-wjjv-3mj2-39hf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"AgenticMail npm library","requires_auth":"none","summary":"AgenticMail libraries contain SQL injection and credential handling flaws allowing attackers to execute code or access data.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-798","name":"Use of Hard-coded Credentials"},{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"},{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"AgenticMail gives AI agents real email addresses and phone numbers. @agenticmail/api prior to version 0.9.32 and @agenticmail/core prior to version 0.9.10 had weakness related to validation and and binding of inactive-agent hour filtering; storage SQL identifier validation; metadata-backed ownership checks for raw storage SQL; blocking direct storage metadata access through raw SQL; fail-closed outbound worker secret handling; SMTP envelope/header control-character validation before command construction; and TLS certificate verification as the default for MailSender with an explicit opt-out for local development. @agenticmail/api prior to version 0.9.32 and @agenticmail/core prior to version 0.9.10 are patched.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"AgenticMail API/storage and outbound relay hardening","id":"CVE-2026-47255","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":4,"n_references":7,"next":{"headline":"opentelemetry-collector-contrib sentryexporter: Path traversal in Sentry exporter via attacker-controlled service.name reaches privileged Sentry API endpoints with operator bearer token","id":"CVE-2026-47256"},"packages":[{"ecosystem":"npm","fixed":["0.9.32"],"introduced":["0"],"last_affected":[],"package":"@agenticmail/api","purl":null,"source":"GHSA-wjjv-3mj2-39hf"},{"ecosystem":"npm","fixed":["0.9.32"],"introduced":["0"],"last_affected":[],"package":"@agenticmail/api","purl":"pkg:npm/%40agenticmail/api","source":"GHSA-wjjv-3mj2-39hf"},{"ecosystem":"npm","fixed":["0.9.10"],"introduced":["0"],"last_affected":[],"package":"@agenticmail/core","purl":null,"source":"GHSA-wjjv-3mj2-39hf"},{"ecosystem":"npm","fixed":["0.9.10"],"introduced":["0"],"last_affected":[],"package":"@agenticmail/core","purl":"pkg:npm/%40agenticmail/core","source":"GHSA-wjjv-3mj2-39hf"}],"prev":{"headline":"libheif Has Heap Buffer Overflow in `Track::get_next_sample_raw_data()` -- OOB Chunk Vector Access","id":"CVE-2026-47254"},"products":["@agenticmail/api","@agenticmail/core"],"published":"2026-07-20","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-21","vendors":["agenticmail"]},"summary":"AgenticMail libraries contain SQL injection and credential handling flaws allowing attackers to execute code or access data.","url":"https://insights.sbomify.com/CVE-2026-47255/"}