{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4020 exists.","fix":"No fix has been published for CVE-2026-4020 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-4020 is a high-severity vulnerability in RocketGenius Gravity SMTP, published on 31 Mar 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-4020 and fix it if it is affected.\n\nWhat it is: CVE-2026-4020 is a high-severity vulnerability in RocketGenius Gravity SMTP, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4020 exists.\n\nAffected product: RocketGenius Gravity SMTP. 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-4020/ (Markdown: https://insights.sbomify.com/CVE-2026-4020/index.md)","id":"CVE-2026-4020","markdown":"https://insights.sbomify.com/CVE-2026-4020/index.md","name":"CVE-2026-4020","record":{"aliases":["GHSA-jxfc-8wcq-xxcg"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can access a REST API endpoint to retrieve sensitive system configuration data and API keys from the Gravity SMTP plugin.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"The Gravity SMTP plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.1.4. This is due to a REST API endpoint registered at /wp-json/gravitysmtp/v1/tests/mock-data with a permission_callback that unconditionally returns true, allowing any unauthenticated visitor to access it. When the ?page=gravitysmtp-settings query parameter is appended, the plugin's register_connector_data() method populates internal connector data, causing the endpoint to return approximately 365 KB of JSON containing the full System Report. This makes it possible for unauthenticated attackers to retrieve detailed system configuration data including PHP version, loaded extensions, web server version, document root path, database server type and version, WordPress version, all active plugins with versions, active theme, WordPress configuration details, database table names, and any API keys/tokens configured in the plugin.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-06-22","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-06-22T04:18:06Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2026-4020","stars":0,"title":"CVE-2026-4020 - Draft"},{"date":"2026-06-30T11:37:40Z","kind":"github_poc","ref":"https://github.com/faizdotid/CVE-2026-4020","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-4020.yaml","stars":null,"title":"Gravity SMTP WordPress Plugin - Sensitive Information Exposure"}],"tier":"weaponised"},"has_fix":null,"headline":"Gravity SMTP \u003c= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API","id":"CVE-2026-4020","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":0,"n_references":7,"next":{"headline":"Auth bypass in Contest Gallery – Upload \u0026 Vote Photos, Media, Sell with PayPal \u0026 Stripe","id":"CVE-2026-4021"},"packages":[],"prev":{"headline":"Missing authorization in Complianz – GDPR/CCPA Cookie Consent","id":"CVE-2026-4019"},"products":["Gravity SMTP"],"published":"2026-03-31","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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["RocketGenius"]},"summary":"Unauthenticated attackers can access a REST API endpoint to retrieve sensitive system configuration data and API keys from the Gravity SMTP plugin.","url":"https://insights.sbomify.com/CVE-2026-4020/"}