TandoorRecipes Recipes
Tandoor Recipes affected by Blind SSRF with Internal Network Access via Recipe Import
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Prior to 2.5.1, there is a Blind Server-Side Request Forgery (SSRF) vulnerability in the Cookmate recipe import feature of Tandoor Recipes. The application fails to validate the destination URL after following HTTP redirects, allowing any authenticated user (including standard users without administrative privileges) to force the server to connect to arbitrary internal or external resources. The vulnerability lies in cookbook/integration/cookmate.py, within the Cookmate integration class. This vulnerability can be leveraged to scan internal network ports, access cloud instance metadata (e.g., AWS/GCP Metadata Service), or disclose the server's real IP address. This vulnerability is fixed in 2.5.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.5.1
Fixed in 2.5.1
Mitigation
Upgrade recipes to 2.5.1 or later.
References
- Vendor advisory github.com/TandoorRecipes/recipes/security/adv…
- Patch github.com/TandoorRecipes/recipes/commit/fdf22…
- Release notes github.com/TandoorRecipes/recipes/releases/tag…
Timeline
Days relative to CVE publicationFirst public PoC 3.9 days after publication; not in CISA KEV. First PoC: drkim-dev/CVE-2026-25991 (created 17 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| drkim-dev/CVE-2026-25991 | 17 Feb 2026 +3.9 d | 3 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /secret.txt
- Ports
- 9999
- PoC User-Agent
python-requests/2.x.x- Seen in
- 1 repo: drkim-dev/CVE-2026-25991
- Evidence
- drkim-dev/CVE-2026-25991/README.md:112
POST /api/import/
- Key headers
Cookie: sessionid={var}; csrftoken={var}X-Csrftoken: {var}- Body markers
type=COOKMATEfiles=@payload.zipduplicates=trueinmultipart/form-data- Ports
- 80
- Seen in
- 1 repo: drkim-dev/CVE-2026-25991
- Evidence
- drkim-dev/CVE-2026-25991/README.md:97
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/secret\.txt(?:[?#].*)?$
(?i)^/api/import/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [9999] (msg:"GG PoC-Monitor CVE-2026-25991 TandoorRecipes recipes exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/secret.txt"; reference:url,poc.griffinguard.io/cve/CVE-2026-25991; classtype:web-application-attack; sid:9851800; rev:1;)
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-25991 TandoorRecipes recipes exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/import/"; http.header; content:"Cookie: sessionid="; nocase; http.header_names; content:"X-Csrftoken"; nocase; http.request_body; content:"type=COOKMATE"; http.request_body; content:"files=@payload.zip"; http.request_body; content:"duplicates=true"; reference:url,poc.griffinguard.io/cve/CVE-2026-25991; classtype:web-application-attack; sid:9074427; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: TandoorRecipes recipes exploit attempt (CVE-2026-25991)
id: gg-pocmon-cve-2026-25991-9851800
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25991. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-25991
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/secret.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.25991
title: TandoorRecipes recipes exploit attempt (CVE-2026-25991)
id: gg-pocmon-cve-2026-25991-9074427
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25991. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-25991
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/import/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.25991