CVE-2026-18997

Source
https://cve.org/CVERecord?id=CVE-2026-18997
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18997.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-18997
Published
2026-08-06T04:30:10.579Z
Modified
2026-08-08T03:30:18.677687599Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization
Details

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.

Database specific
{
    "cna_assigner": "VulDB",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18997.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "1.1.1"
                },
                {
                    "last_affected": "1.1.1"
                },
                {
                    "introduced": "1.1.2"
                },
                {
                    "last_affected": "1.1.2"
                },
                {
                    "introduced": "1.1.7"
                },
                {
                    "last_affected": "1.1.7"
                },
                {
                    "introduced": "1.1.8"
                },
                {
                    "last_affected": "1.1.8"
                },
                {
                    "introduced": "1.1.10"
                },
                {
                    "last_affected": "1.1.10"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-285",
        "CWE-863"
    ]
}
References

Affected packages

Git / github.com/cosmicstack-labs/mercury-agent

Affected ranges

Type
GIT
Repo
https://github.com/cosmicstack-labs/mercury-agent
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "1.1.0"
        },
        {
            "last_affected": "1.1.0"
        },
        {
            "introduced": "1.1.3"
        },
        {
            "last_affected": "1.1.3"
        },
        {
            "introduced": "1.1.4"
        },
        {
            "last_affected": "1.1.4"
        },
        {
            "introduced": "1.1.5"
        },
        {
            "last_affected": "1.1.5"
        },
        {
            "introduced": "1.1.6"
        },
        {
            "last_affected": "1.1.6"
        },
        {
            "introduced": "1.1.9"
        },
        {
            "last_affected": "1.1.9"
        },
        {
            "introduced": "1.1.11"
        },
        {
            "last_affected": "1.1.11"
        },
        {
            "introduced": "1.1.12"
        },
        {
            "last_affected": "1.1.12"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

1.*
1.1.0
1.1.11
1.1.12
1.1.3
1.1.4
1.1.5
1.1.6
1.1.9
v1.*
v1.1.0
v1.1.11
v1.1.12
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v1.1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18997.json"