{"answers":{"affected":"8 open source packages ship an affected version, including SurrealDB. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-71390 in the wild and no public exploit code.","fix":"Upgrade SurrealDB to a fixed version for your release line: 2.1.8, 2.2.6, 2.3.6 or 3.0.0-alpha.7.","what":"CVE-2025-71390 is a medium-severity server-side request forgery vulnerability in Surrealdb Surrealdb, published on 18 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-71390 and fix it if it is affected.\n\nWhat it is: CVE-2025-71390 is a medium-severity server-side request forgery vulnerability in Surrealdb Surrealdb, published on 18 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-71390 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- SurrealDB (crates.io): affected from 2.1.0; fixed in 2.1.8\n- SurrealDB (crates.io): affected from 2.1.0; fixed in 2.1.8\n- SurrealDB (crates.io): affected from 2.2.0; fixed in 2.2.6\n- SurrealDB (crates.io): affected from 2.2.0; fixed in 2.2.6\n- SurrealDB (crates.io): affected from 2.3.0; fixed in 2.3.6\n- SurrealDB (crates.io): affected from 2.3.0; fixed in 2.3.6\n- SurrealDB (crates.io): affected from 3.0.0-alpha.1; fixed in 3.0.0-alpha.7\n- SurrealDB (crates.io): affected from 3.0.0-alpha.1; fixed in 3.0.0-alpha.7\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-71390/ (Markdown: https://insights.sbomify.com/CVE-2025-71390/index.md)","id":"CVE-2025-71390","markdown":"https://insights.sbomify.com/CVE-2025-71390/index.md","name":"CVE-2025-71390","record":{"aliases":["GHSA-m3c3-78fh-w3w7"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"SurrealDB database","requires_auth":"low_privilege","summary":"Authenticated users can bypass network restrictions in SurrealDB via DNS resolution, accessing restricted internal endpoints to read or modify sensitive data.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"surrealdb","vendor":"surrealdb"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"SurrealDB before 2.2.6, 2.3.6, and 2.1.8 (and 3.0.0-alpha.7 and earlier) fails to validate DNS-resolved hostnames against --deny-net network access restrictions in its http::* functions. An authenticated user can invoke http::\u003cfn\u003e(\u003curl\u003e) with a hostname that resolves to a denied IP address, causing the server to issue the request anyway and return the response. This bypasses network access controls, allowing access to restricted internal endpoints and potentially retrieving or altering sensitive information and credentials, depending on the deployment.","ecosystems":["crates.io"],"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":"SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution","id":"CVE-2025-71390","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":"surrealdb:surrealdb","products":["surrealdb:surrealdb"],"type":"ssrf","year":"2025"},"n_packages":8,"n_references":2,"next":{"headline":"SurrealDB before 2.2.2 Denial of Service via /sql endpoint","id":"CVE-2025-71391"},"packages":[{"ecosystem":"crates.io","fixed":["2.1.8"],"introduced":["2.1.0"],"last_affected":[],"package":"SurrealDB","purl":null,"source":"GHSA-m3c3-78fh-w3w7"},{"ecosystem":"crates.io","fixed":["2.1.8"],"introduced":["2.1.0"],"last_affected":[],"package":"SurrealDB","purl":"pkg:cargo/SurrealDB","source":"GHSA-m3c3-78fh-w3w7"},{"ecosystem":"crates.io","fixed":["2.2.6"],"introduced":["2.2.0"],"last_affected":[],"package":"SurrealDB","purl":null,"source":"GHSA-m3c3-78fh-w3w7"},{"ecosystem":"crates.io","fixed":["2.2.6"],"introduced":["2.2.0"],"last_affected":[],"package":"SurrealDB","purl":"pkg:cargo/SurrealDB","source":"GHSA-m3c3-78fh-w3w7"},{"ecosystem":"crates.io","fixed":["2.3.6"],"introduced":["2.3.0"],"last_affected":[],"package":"SurrealDB","purl":null,"source":"GHSA-m3c3-78fh-w3w7"},{"ecosystem":"crates.io","fixed":["2.3.6"],"introduced":["2.3.0"],"last_affected":[],"package":"SurrealDB","purl":"pkg:cargo/SurrealDB","source":"GHSA-m3c3-78fh-w3w7"},{"ecosystem":"crates.io","fixed":["3.0.0-alpha.7"],"introduced":["3.0.0-alpha.1"],"last_affected":[],"package":"SurrealDB","purl":null,"source":"GHSA-m3c3-78fh-w3w7"},{"ecosystem":"crates.io","fixed":["3.0.0-alpha.7"],"introduced":["3.0.0-alpha.1"],"last_affected":[],"package":"SurrealDB","purl":"pkg:cargo/SurrealDB","source":"GHSA-m3c3-78fh-w3w7"}],"prev":{"headline":"Cal.com before 5.9.9 Remote Code Execution via RSC","id":"CVE-2025-71389"},"products":["surrealdb"],"published":"2026-07-18","related":[{"cvss_score":9.4,"headline":"SurrealDB before 2.2.2 SurrealQL Injection via export","id":"CVE-2025-71392","kev_date_added":null,"published":"2026-07-18"},{"cvss_score":9.2,"headline":"SurrealDB before 3.1.0 Privilege Escalation via RPC Session Race Condition","id":"CVE-2026-63756","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":8.7,"headline":"SurrealDB before 3.1.0 Denial of Service via malformed RPC use","id":"CVE-2026-63747","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":8.7,"headline":"SurrealDB before 3.1.0 Session Hijacking via /rpc sessions","id":"CVE-2026-63757","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":8.7,"headline":"SurrealDB before 3.1.0 Denial of Service via JSON Parser","id":"CVE-2026-63760","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":8.7,"headline":"SurrealDB before 1.0.1 Insecure Default Table Permissions","id":"CVE-2023-54366","kev_date_added":null,"published":"2026-07-18"},{"cvss_score":8.7,"headline":"SurrealDB before 1.5.5 Query Injection via RPC API","id":"CVE-2024-58362","kev_date_added":null,"published":"2026-07-18"}],"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":"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-07-28","vendors":["surrealdb"]},"summary":"Authenticated users can bypass network restrictions in SurrealDB via DNS resolution, accessing restricted internal endpoints to read or modify sensitive data.","url":"https://insights.sbomify.com/CVE-2025-71390/"}