{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2026.10"
                  },
                  {
                    "last_affected": "2026.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2026.11.0"
                  },
                  {
                    "last_affected": "2026.11.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2026.11.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "7203e00dc271cc2ea9ea84bb130731b8ca00319e"
            },
            {
              "last_affected": "3307c3e033ef3489705dfa5075553b5452baa7d9"
            }
          ],
          "repo": "https://github.com/nanocoai/nanoclaw",
          "type": "GIT"
        }
      ],
      "versions": [
        "2026.10",
        "2026.11.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-754"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139887.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "2026.0"
              },
              {
                "last_affected": "2026.0"
              },
              {
                "introduced": "2026.1"
              },
              {
                "last_affected": "2026.1"
              },
              {
                "introduced": "2026.2"
              },
              {
                "last_affected": "2026.2"
              },
              {
                "introduced": "2026.3"
              },
              {
                "last_affected": "2026.3"
              },
              {
                "introduced": "2026.4"
              },
              {
                "last_affected": "2026.4"
              },
              {
                "introduced": "2026.5"
              },
              {
                "last_affected": "2026.5"
              },
              {
                "introduced": "2026.6"
              },
              {
                "last_affected": "2026.6"
              },
              {
                "introduced": "2026.7"
              },
              {
                "last_affected": "2026.7"
              },
              {
                "introduced": "2026.8"
              },
              {
                "last_affected": "2026.8"
              },
              {
                "introduced": "2026.9"
              },
              {
                "last_affected": "2026.9"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
          }
        ]
      }
    ]
  },
  "details": "A vulnerability was found in nanocoai NanoClaw up to 2026.11.0. This affects the function readEnvFile of the file src/env.ts of the component Lockdown. The manipulation results in improper check for unusual conditions. Attacking locally is a requirement. The exploit has been made public and could be used. The pull request to fix this issue awaits acceptance.",
  "id": "CVE-2026-139887",
  "modified": "2026-12-02T20:45:59.424357934Z",
  "published": "2026-11-30T23:15:12.275Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/nanocoai/nanoclaw/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139887.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139887"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-139887"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1082486"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/445861"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/445861/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nanocoai/nanoclaw/pull/4314"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "nanocoai NanoClaw Lockdown env.ts readEnvFile unusual condition"
}