# CVE-2026-142297: Cosmos Server before 0.24.0 SSRF via favicon and ping API endpoints

Source: https://aplosec.si/cve/CVE-2026-142297/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142297

Medium 5.3 · Reported · Fixed in 0.24.0 · CWE-918 · Go

# Cosmos Server before 0.24.0 SSRF via favicon and ping API endpoints

CVE-2026-142297 · published 2026-12-02

In plain words: this type of bug lets someone trick the server into making requests to places it should not reach (server-side request forgery, SSRF). A fixed release is listed.

## Summary

CVE-2026-142297 affects Cosmos Server (Go) < 0.24.0: SSRF via favicon and ping API endpoints (CWE-918). Fixed in 0.24.0. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Cosmos Server before 0.24.0 contains a server-side request forgery vulnerability that allows authenticated non-admin users to make the server request arbitrary URLs via the q parameter. Attackers can abuse /cosmos/api/ping and /cosmos/api/favicon, which follow redirects without host restrictions, to probe internal services and read image or octet-stream responses.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade Cosmos Server to 0.24.0 or later. Releases in the affected range (< 0.24.0) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-12-02 CVE published

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/cosmos-server-before-0.24.0-ssrf-via-favicon-and-ping-api-endpoints](https://www.vulncheck.com/advisories/cosmos-server-before-0.24.0-ssrf-via-favicon-and-ping-api-endpoints)

- [Vulnerable codehttps://github.com/azukaar/Cosmos-Server/blob/v0.24.0-unstable030/src/icons.go#L27-L43](https://github.com/azukaar/Cosmos-Server/blob/v0.24.0-unstable030/src/icons.go#L27-L43)

- [Vulnerable codehttps://github.com/azukaar/Cosmos-Server/blob/v0.24.0-unstable030/src/icons.go#L92-L100](https://github.com/azukaar/Cosmos-Server/blob/v0.24.0-unstable030/src/icons.go#L92-L100)

- [Vulnerable codehttps://github.com/azukaar/Cosmos-Server/blob/v0.24.0-unstable030/src/icons.go#L297-L345](https://github.com/azukaar/Cosmos-Server/blob/v0.24.0-unstable030/src/icons.go#L297-L345)

- [Releasehttps://github.com/azukaar/Cosmos-Server/releases/tag/v0.24.0](https://github.com/azukaar/Cosmos-Server/releases/tag/v0.24.0)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142297](https://www.cve.org/CVERecord?id=CVE-2026-142297)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-142297](https://nvd.nist.gov/vuln/detail/CVE-2026-142297)

**Severity:** Medium 5.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142297)

**Package:** Cosmos Server

**Ecosystem:** Go

**Affected:** < 0.24.0

**Fixed:** 0.24.0

**Weakness:** CWE-918

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
