# CVE-2025-48952: NetAlertX has Password Bypass Vulnerability due to Loose Comparison in PHP

- Severity: Critical 9.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-04T22:12:54.601Z
- Modified: 2026-06-17T09:30:33.190Z
- Weaknesses: CWE-697
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

NetAlertX is a network, presence scanner, and alert framework. Prior to version 25.6.7, a vulnerability in the authentication logic allows users to bypass password verification using SHA-256 magic hashes, due to loose comparison in PHP. In vulnerable versions of the application, a password comparison is performed using the `==` operator at line 40 in front/index.php. This introduces a security issue where specially crafted "magic hash" values that evaluate to true in a loose comparison can bypass authentication. Because of the use of `==` instead of the strict `===`, different strings that begin with 0e and are followed by only digits can be interpreted as scientific notation (i.e., zero) and treated as equal. This issue falls under the Login Bypass vulnerability class. Users with certain "weird" passwords that produce magic hashes are particularly affected. Services relying on this logic are at risk of unauthorized access. Version 25.6.7 fixes the vulnerability.

(As written by CVE List.)

## Affected

- jokob-sk NetAlertX: < 25.6.7
- netalertx netalertx: before 25.6.7

## References

- <https://github.com/jokob-sk/NetAlertX/security/advisories/GHSA-4p4p-vq2v-9489> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-48952](https://www.cve.org/CVERecord?id=CVE-2025-48952), CVE Terms of Use, modified 2025-07-08
- NVD: [CVE-2025-48952](https://nvd.nist.gov/vuln/detail/CVE-2025-48952), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48952 · Whole record: https://cve.day/CVE-2025-48952.json · Rebuilt by cve.day 2026-11-25T22:59:00.673Z
