Share
## https://sploitus.com/exploit?id=5AB85FC2-7A7B-5CF1-ABF2-AC44C5026986
# CVE-2025-34291 โ€” Langflow Origin Validation / CORS


  
  
  


## Overview

**Overly permissive CORS config combined with refresh token cookie config allows credential theft.**

| Field | Value |
|-------|-------|
| CVE | CVE-2025-34291 |
| Severity | HIGH |
| Product | Langflow |
| CISA KEV | 2026-05-21 |
| Attack Type | Origin Validation / CORS |
| Auth Required | None |

### Affected Versions

| Status | Versions |
|--------|----------|
| โŒ Vulnerable | Langflow versions before 1.3.5 |
| โœ… Fixed | Fixed in Langflow 1.3.5+ |

## Installation

```bash
# Clone
git clone https://github.com/ridhinva/CVE-2025-34291-Langflow-Scanner.git
cd CVE-2025-34291-Langflow-Scanner

# Install deps (if any)
pip install requests
```

## Usage

### Scan Single Target
```bash
python3 langflow_scanner.py example.com
python3 langflow_scanner.py https://192.168.1.1
```

### Mass Scan from File
```bash
echo "target1.com" > targets.txt
echo "target2.com" >> targets.txt
python3 langflow_scanner.py targets.txt
```

### Show Vulnerability Info
```bash
python3 langflow_scanner.py --info
```

## How It Works

The scanner checks for exposed endpoints associated with this vulnerability and reports potential targets for manual verification.

## References

| Source | Link |
|--------|------|
| CISA KEV | https://www.cisa.gov/known-exploited-vulnerabilities-catalog |
| NVD Entry | https://nvd.nist.gov/vuln/detail/CVE-2025-34291 |
| Vendor Advisory | https://security.paloaltonetworks.com/CVE202534291 |

## Disclaimer

For authorized security testing and educational purposes only. Unauthorized access is illegal.

## Author

**@c_y_p_h3r** โ€” Bug bounty hunter & security researcher