CVE-2026-54339: CWE-918: Server-Side Request Forgery (SSRF) in LeslieLeung glean
Glean is a self-hosted RSS reader and personal knowledge management tool. Prior to 0.2.6, POST /api/feeds/discover passes an attacker-supplied feed_url to discover_feed(feed_url), creates a subscription through FeedService.create_subscription(), and enqueues fetch_feed_task. The background path calls fetch_feed(feed.url) and parse_feed(), which assigns each RSS item link to ParsedEntry.url. The task then passes ParsedEntry.url to fetch_and_extract_fulltext(parsed_entry.url) without network-level validation in backend/packages/rss/glean_rss/extractor.py and backend/apps/worker/glean_worker/tasks/feed_fetcher.py. A malicious feed can therefore make the server request private, loopback, link-local, or cloud-metadata resources. The fetched response is stored in Entry.content and can be retrieved through GET /api/entries/{id}, producing non-blind server-side request forgery with full response disclosure. This can bypass network perimeters, probe internal services and ports, expose internal configuration or web content, and potentially disclose cloud metadata access tokens. This issue is fixed in version 0.2.6.
AI Analysis
Technical Summary
In glean versions before 0.2.6, the POST /api/feeds/discover endpoint accepts a feed_url parameter that is passed to discover_feed(feed_url), which creates a subscription and enqueues a background task to fetch and parse the feed. The background task fetches URLs from feed entries without network-level validation, allowing an attacker to supply malicious feed URLs that cause the server to request internal, loopback, link-local, or cloud metadata resources. The fetched content is stored and can be retrieved via GET /api/entries/{id}, resulting in non-blind SSRF with full response disclosure. This vulnerability can bypass network perimeters and expose sensitive internal or cloud metadata information. The vulnerability is addressed in version 0.2.6.
Potential Impact
An attacker can exploit this SSRF vulnerability to make the server perform unauthorized HTTP requests to internal network resources, including private, loopback, link-local, or cloud metadata endpoints. This can lead to disclosure of sensitive internal configuration, web content, or cloud metadata access tokens. The vulnerability allows full response disclosure, increasing the risk of information leakage. There is no indication of integrity or availability impact. The CVSS score is 7.7 (high severity).
Mitigation Recommendations
This vulnerability is fixed in glean version 0.2.6. Users should upgrade to version 0.2.6 or later to remediate this issue. No additional mitigation is required once the upgrade is applied.
CVE-2026-54339: CWE-918: Server-Side Request Forgery (SSRF) in LeslieLeung glean
Description
Glean is a self-hosted RSS reader and personal knowledge management tool. Prior to 0.2.6, POST /api/feeds/discover passes an attacker-supplied feed_url to discover_feed(feed_url), creates a subscription through FeedService.create_subscription(), and enqueues fetch_feed_task. The background path calls fetch_feed(feed.url) and parse_feed(), which assigns each RSS item link to ParsedEntry.url. The task then passes ParsedEntry.url to fetch_and_extract_fulltext(parsed_entry.url) without network-level validation in backend/packages/rss/glean_rss/extractor.py and backend/apps/worker/glean_worker/tasks/feed_fetcher.py. A malicious feed can therefore make the server request private, loopback, link-local, or cloud-metadata resources. The fetched response is stored in Entry.content and can be retrieved through GET /api/entries/{id}, producing non-blind server-side request forgery with full response disclosure. This can bypass network perimeters, probe internal services and ports, expose internal configuration or web content, and potentially disclose cloud metadata access tokens. This issue is fixed in version 0.2.6.
CVSS v3.1
Score 7.7high
Affected software
LeslieLeung
glean
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In glean versions before 0.2.6, the POST /api/feeds/discover endpoint accepts a feed_url parameter that is passed to discover_feed(feed_url), which creates a subscription and enqueues a background task to fetch and parse the feed. The background task fetches URLs from feed entries without network-level validation, allowing an attacker to supply malicious feed URLs that cause the server to request internal, loopback, link-local, or cloud metadata resources. The fetched content is stored and can be retrieved via GET /api/entries/{id}, resulting in non-blind SSRF with full response disclosure. This vulnerability can bypass network perimeters and expose sensitive internal or cloud metadata information. The vulnerability is addressed in version 0.2.6.
Potential Impact
An attacker can exploit this SSRF vulnerability to make the server perform unauthorized HTTP requests to internal network resources, including private, loopback, link-local, or cloud metadata endpoints. This can lead to disclosure of sensitive internal configuration, web content, or cloud metadata access tokens. The vulnerability allows full response disclosure, increasing the risk of information leakage. There is no indication of integrity or availability impact. The CVSS score is 7.7 (high severity).
Mitigation Recommendations
This vulnerability is fixed in glean version 0.2.6. Users should upgrade to version 0.2.6 or later to remediate this issue. No additional mitigation is required once the upgrade is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-12T19:23:22.316Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aac51e755bf5e2cf5e0cf1c
Added to database: 09/17/2026, 20:47:35 UTC
Last enriched: 09/17/2026, 21:02:46 UTC
Last updated: 09/18/2026, 00:50:43 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.