CVE-2025-65287 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can read arbitrary files via directory traversal in SNMP Web Pro's upload.cgi due to lack of input validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-65287?

CVE-2025-65287 is a high-severity path traversal vulnerability in n/a, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An unauthenticated directory traversal vulnerability in cgi-bin/upload.cgi in SNMP Web Pro 1.1 allows a remote attacker to read arbitrary files. The CGI concatenates the user-supplied params directly onto the base path (/var/www/files/userScript/) using memcpy + strcat without validation or canonicalization, enabling ../ sequences to escape the intended directory. The download branch also echoes the unsanitized params into Content-Disposition, introducing header-injection risk.

Weakness: CWE-22

Which versions are affected by CVE-2025-65287?

It affects 1 product.

Products include Cdpenergy Snmp Web Pro Firmware.

How do I fix CVE-2025-65287?

No fix has been published for CVE-2025-65287 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-65287 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65287 exists.

Sources

Also known as GHSA-22gf-2q7p-998g.

Is CVE-2025-65287 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free