# How to use Claude to find and fix SSRF flaws

Claude Code helped research two SSRF flaws. The researcher verified URL-boundary failures and worked with maintainers on parsing fixes and private advisories.

Agent: Claude (via Claude Code)
Tools: Claude Code, Node.js, Python, GitHub security advisories
Category: Security
Date: 2026-04-27

Outcome: Two verified SSRF findings became CVE-2026-42260 and CVE-2026-42261, with maintainer-integrated parsing corrections and variant tests described in the account.

## Steps

1. Cohen selected projects and used Claude Code to inspect URL-fetching validation.
2. He reproduced address-normalization and DNS-boundary problems before private disclosure.
3. The researcher and maintainers integrated library-based parsing fixes and variant tests.

Human oversight: Cohen chose projects, filtered false leads, reproduced behavior and worked privately with maintainers on patches and advisory handling.

Source: [Shmulik Cohen — Substack](https://shmulc.substack.com/p/how-i-found-my-first-two-ssrf-cves)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-find-and-fix-two-ssrf-flaws/
