5.3medium
cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
A vulnerability was found in cosmicstack-labs mercury-agent up to 1.1.12. This issue affects the function Agent.handleBgCommand of the file src/core/agent.ts of the component bg Command Handler. Performing a manipulation results in incorrect authorization. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cosmicstack-labs mercury-agent | 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7 and 5 more | CVE List |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
What each source says
CVE List
A vulnerability was found in cosmicstack-labs mercury-agent up to 1.1.12. This issue affects the function Agent.handleBgCommand of the file src/core/agent.ts of the component bg Command Handler. Performing a manipulation results in incorrect authorization. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
NVD (es)
Se encontró una vulnerabilidad en cosmicstack-labs mercury-agent hasta 1.1.12. Este problema afecta a la función Agent.handleBgCommand del archivo src/core/agent.ts del componente Gestor de Comandos bg. Realizar una manipulación resulta en una autorización incorrecta. Es posible iniciar el ataque de forma remota. El exploit se ha hecho público y podría ser utilizado. El proyecto fue informado del problema tempranamente a través de un informe de problema, pero aún no ha respondido.
References
| https://vuldb.com/vuln/386380 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/386380/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-18997 | third-party-advisory | |
| https://vuldb.com/submit/862627 | third-party-advisory | |
| https://github.com/cosmicstack-labs/mercury-agent/issues/73 | exploit, issue-tracking | |
| https://github.com/cosmicstack-labs/mercury-agent/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18997 changed 2026-08-06 | CVE Terms of Use |
| NVD | CVE-2026-18997 changed 2026-10-23 | Public domain |