{"answers":{"affected":"5 open source packages ship an affected version, including github.com/axllent/mailpit. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-22689 in the wild and no public exploit code.","fix":"Upgrade github.com/axllent/mailpit to a fixed version for your release line: 0.0.0-20260110031614 or 1.28.2.","what":"CVE-2026-22689 is a medium-severity vulnerability in axllent mailpit, published on 10 Jan 2026. 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-2026-22689 and fix it if it is affected.\n\nWhat it is: CVE-2026-22689 is a medium-severity vulnerability in axllent mailpit, published on 10 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-22689 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/axllent/mailpit (Go): affected all versions; fixed in 0.0.0-20260110031614\n- github.com/axllent/mailpit (Go): affected all versions; fixed in 0.0.0-20260110031614\n- github.com/axllent/mailpit (Go): affected from 1.2.6; fixed in 1.28.2\n- github.com/axllent/mailpit (Go): affected from 1.2.6; fixed in 1.28.2\n- github.com/axllent/mailpit (Go): affected from 1.2.6; fixed in 1.28.2\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-22689/ (Markdown: https://insights.sbomify.com/CVE-2026-22689/index.md)","id":"CVE-2026-22689","markdown":"https://insights.sbomify.com/CVE-2026-22689/index.md","name":"CVE-2026-22689","record":{"aliases":["GHSA-524m-q5m7-79mm","GO-2026-4310"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Email testing tool","requires_auth":"none","summary":"An attacker can hijack WebSocket connections to read sensitive email data from a local Mailpit instance via a malicious website.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mailpit","vendor":"axllent"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"description":"Mailpit is an email testing tool and API for developers. Prior to version 1.28.2, the Mailpit WebSocket server is configured to accept connections from any origin. This lack of Origin header validation introduces a Cross-Site WebSocket Hijacking (CSWSH) vulnerability. An attacker can host a malicious website that, when visited by a developer running Mailpit locally, establishes a WebSocket connection to the victim's Mailpit instance (default ws://localhost:8025). This allows the attacker to intercept sensitive data such as email contents, headers, and server statistics in real-time. This issue has been patched in version 1.28.2.","ecosystems":["Go"],"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":"Mailpit is vulnerable to Cross-Site WebSocket Hijacking (CSWSH) allowing unauthenticated access to emails","id":"CVE-2026-22689","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"csrf","year":"2026"},"n_packages":5,"n_references":2,"next":{"headline":"pypdf has possible long runtimes for missing /Root object with large /Size values","id":"CVE-2026-22690"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260110031614"],"introduced":["0"],"last_affected":[],"package":"github.com/axllent/mailpit","purl":null,"source":"GHSA-524m-q5m7-79mm"},{"ecosystem":"Go","fixed":["0.0.0-20260110031614"],"introduced":["0"],"last_affected":[],"package":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","source":"GHSA-524m-q5m7-79mm"},{"ecosystem":"Go","fixed":["1.28.2"],"introduced":["1.2.6"],"last_affected":[],"package":"github.com/axllent/mailpit","purl":null,"source":"GHSA-524m-q5m7-79mm"},{"ecosystem":"Go","fixed":["1.28.2"],"introduced":["1.2.6"],"last_affected":[],"package":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","source":"GHSA-524m-q5m7-79mm"},{"ecosystem":"Go","fixed":["1.28.2"],"introduced":["1.2.6"],"last_affected":[],"package":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","source":"GO-2026-4310"}],"prev":{"headline":"WeKnora has Command Injection in MCP stdio test","id":"CVE-2026-22688"},"products":["mailpit"],"published":"2026-01-10","related":[{"cvss_score":7.5,"headline":"Mailpit: Unauthenticated remote memory-exhaustion DoS via unlimited SMTP DATA and /api/v1/send body sizes","id":"CVE-2026-45713","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":5.9,"headline":"Mailpit: Path traversal \u0026 arbitrary file write in mailpit dump --http via attacker-controlled message IDs","id":"CVE-2026-45711","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":5.9,"headline":"Mailpit: Concurrent map read \u0026 write in proxy CSS rewriter - remote unauth crash (fatal error: concurrent map read and map write)","id":"CVE-2026-45712","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":5.8,"headline":"Mailpit has an incomplete fix for GHSA-6jxm: HTML check still permits SSRF to private/loopback/IMDS via missing IP-filter dialer","id":"CVE-2026-45709","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":5.8,"headline":"Mailpit is Vulnerable to Server-Side Request Forgery (SSRF) via Link Check API","id":"CVE-2026-27808","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":5.8,"headline":"Mailpit Vulnerable to Server-Side Request Forgery (SSRF) via HTML Check API","id":"CVE-2026-23845","kev_date_added":null,"published":"2026-01-19"}],"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":"Go Vulnerability Database","prefix":"GO"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-12","vendors":["axllent"]},"summary":"An attacker can hijack WebSocket connections to read sensitive email data from a local Mailpit instance via a malicious website.","url":"https://insights.sbomify.com/CVE-2026-22689/"}