CVE-2026-18997: cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization

Published Aug 6, 2026
·
Updated

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 Software

1 affected component
cosmicstack-labs/mercury-agent<=1.1.12

Event History

Aug 6, 2026
CVE Published
via MITRE·04:30 AM
Data Sourced
via MITRE·04:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-18997?

The severity of CVE-2026-18997 is medium with a CVSS score of 6.3.

2

How do I fix CVE-2026-18997?

To fix CVE-2026-18997, update the cosmicstack-labs mercury-agent to version 1.1.13 or later.

3

What components are affected by CVE-2026-18997?

CVE-2026-18997 affects the bg Command Handler in the Agent.handleBgCommand function of the cosmicstack-labs mercury-agent.

4

What type of vulnerability is CVE-2026-18997?

CVE-2026-18997 is an authorization vulnerability that can lead to incorrect authorization handling.

5

Can CVE-2026-18997 be exploited remotely?

Yes, CVE-2026-18997 can be exploited remotely due to its nature in the Agent.handleBgCommand function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203