{"id":"CVE-2026-47390","published":"2026-07-21T14:47:53Z","modified":"2026-07-22T14:10:08Z","title":"PraisonAI spider_tools SSRF protection bypass via alternate loopback host encodings","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"PraisonAI is a multi-agent teams system. Prior to version 4.6.40 of PraisonAI, corresponding to version 1.6.40 of praisonaiagents, `spider_tools` URL validation can be bypassed using alternate loopback host encodings. The tool contains a URL validation function intended to block local or unsafe targets before fetching attacker-controlled URLs. However, the validation only blocks a small set of exact host strings such as `localhost` and `127.0.0.1`. It does not normalize hostnames, resolve DNS, parse numeric IPv4 variants, or validate the final resolved IP address before making the request. As a result, certain URLs may bypass the protection and still reach loopback services. After the weak validation passes, `scrape_page()` calls `requests.Session.get()` on the attacker-controlled URL. This allows an attacker who can influence URLs passed to `scrape_page`, `crawl`, or `extract_text` to induce SSRF requests against loopback-only services. This is a server-side request forgery protection bypass. PraisonAI version 4.6.40 and praisonaiagents version 1.6.40 contain a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00175,"percentile":0.04051,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-5c6w-wwfq-7qqm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MervinPraison/PraisonAI/pull/1684","tags":["x_refsource_MISC"]},{"url":"https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6","tags":["x_refsource_MISC"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":0.81},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.6.40"]},{"vendor":"MervinPraison","product":"praisonaiagents","versions":["< 1.6.40"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T14:08:40.990468Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonaiagents","vulnerableRanges":["<1.6.40"],"patched":["1.6.40"],"from":["GHSA-5c6w-wwfq-7qqm","PYSEC-2026-2941"],"provenance":"source"},{"ecosystem":"PyPI","package":"PraisonAI","vulnerableRanges":["<4.6.40"],"patched":["4.6.40"],"from":["GHSA-5c6w-wwfq-7qqm","PYSEC-2026-2902"],"provenance":"source"}],"summary":{"text":"PraisonAI's spider_tools URL validation, which is meant to block local targets, contains a flaw in which it only rejects a few exact host strings such as localhost and 127.0.0.1 and does not normalize hostnames, resolve DNS, parse alternate numeric IPv4 forms, or check the resolved address. An attacker who can influence the URLs passed to scrape_page, crawl, or extract_text, and who can get a user to trigger that processing, can use alternate loopback encodings to bypass the check and make the server request services bound to loopback, which is a server-side request forgery.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:49Z"},"euvd":{"id":"EUVD-2026-46278","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41496","published":"2026-05-08","fixed":"1.6.8","kev":false},{"cve":"CVE-2026-44335","published":"2026-05-08","fixed":"1.6.32","kev":false},{"cve":"CVE-2026-44339","published":"2026-05-08","fixed":"1.6.37","kev":false,"link":{"from":"CVE-2026-44339","to":"CVE-2026-47390","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonaiagents","fromFixed":"1.6.37","toFixed":"1.6.40","daysApart":74}]}},{"cve":"CVE-2026-47390","published":"2026-07-21","fixed":"1.6.40","kev":false},{"cve":"CVE-2026-47392","published":"2026-07-21","fixed":"1.6.40","kev":false},{"cve":"CVE-2026-47395","published":"2026-07-21","fixed":"1.6.40","kev":false},{"cve":"CVE-2026-55522","published":"2026-08-05","fixed":"1.6.58","kev":false}],"package":"PyPI:praisonaiagents"}}