Skip to content
Heist/ feed
Back to feed
Critical

deepHas vulnerable to Prototype Pollution via constructor.prototype

Type: advisorySources: OSV

deepHas provides a test for the existence of a nested object key and optionally returns that key. A prototype pollution vulnerability exists in version 1.0.7 of the deephas npm package that allows an attacker to modify global object behavior. This issue was fixed in version 1.0.8.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-25047
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:33 UTC · Revision 1

Source evidence

deepHas vulnerable to Prototype Pollution via constructor.prototype

core-osv · Original source

Published 29 Jan 2026, 21:39 UTC

deepHas provides a test for the existence of a nested object key and optionally returns that key. A prototype pollution vulnerability exists in version 1.0.7 of the deephas npm package that allows an attacker to modify global object behavior. This issue was fixed in version 1.0.8.

osv:CVE-2026-25047
Complete source record
{
  "id": "e91c30d57920f3e7da07033a6fde3ec3c3c9ed3e7859e7a9c8ebc9791d47c0f5",
  "url": "https://osv.dev/vulnerability/CVE-2026-25047",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "deepHas vulnerable to Prototype Pollution via constructor.prototype",
    "summary": "deepHas provides a test for the existence of a nested object key and optionally returns that key. A prototype pollution vulnerability exists in version 1.0.7 of the deephas npm package that allows an attacker to modify global object behavior. This issue was fixed in version 1.0.8.",
    "evidence": "osv:CVE-2026-25047",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-25047",
      "aliases": [
        "CVE-2026-25047",
        "GHSA-2733-6c58-pf27"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sharpred/deephas",
              "type": "GIT",
              "events": [
                {
                  "introduced": "54685e712c6ab54fcd79a339743da2c297141000"
                },
                {
                  "fixed": "8097fafd3776c613d8066546653e0d2c7b5fc465"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sharpred:deephas:1.0.7:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "1.0.7"
                      },
                      {
                        "last_affected": "1.0.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8097fafd3776c613d8066546653e0d2c7b5fc465"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25047.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.250938741Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25047.json",
        "https://github.com/sharpred/deepHas/security/advisories/GHSA-2733-6c58-pf27",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-25047",
        "https://github.com/sharpred/deepHas/commit/8097fafd3776c613d8066546653e0d2c7b5fc465"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1321"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25047.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-25047",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488569,
  "published_at": "2026-01-29T21:39:48.498+00:00"
}