{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.6.22"
                  },
                  {
                    "fixed": "2.15.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "2.6.22"
                  },
                  {
                    "fixed": "2.15.2"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "6f6e820b21e3f84b85422c24e21bf7f30d548305"
            },
            {
              "fixed": "4c46f5fa4631d569240eda88cffdbc9cb47b3d22"
            }
          ],
          "repo": "https://github.com/ash-project/ash",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "af0903f1380468bbe1b61fe65acb33772b5e24a5"
                  },
                  {
                    "fixed": "8aa81220c401cae412d21078d11b3519ea25d3a9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "af0903f1380468bbe1b61fe65acb33772b5e24a5"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "8aa81220c401cae412d21078d11b3519ea25d3a9"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "af0903f1380468bbe1b61fe65acb33772b5e24a5"
            },
            {
              "fixed": "8aa81220c401cae412d21078d11b3519ea25d3a9"
            },
            {
              "fixed": "af0903f1380468bbe1b61fe65acb33772b5e24a5"
            }
          ],
          "repo": "https://github.com/ash-project/ash_postgres",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-36hg-wwp2-fg8w"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115635.json"
  },
  "details": "Incorrect Authorization vulnerability in ash-project ash_postgres allows a user to read another tenant's record through a skipped upsert.\n\nWhen Ash.bulk_create/4 or a single create runs as an upsert with return_skipped_upsert?: true and the upsert is skipped (for example because its upsert_condition does not hold), AshPostgres.DataLayer reads the existing row back by the upsert identity in do_bulk_create/3 and upsert/4. That lookup did not apply the resource's attribute multitenancy, so on a resource using strategy :attribute it could match and return the row of another tenant with the same identity values, exposing its fields to the caller.\n\nThis issue affects ash_postgres: from 2.6.22 before 2.15.2.",
  "id": "CVE-2026-115635",
  "modified": "2026-10-28T02:30:44.489505796Z",
  "published": "2026-10-25T19:48:43.829Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-115635.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-115635"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115635.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ash-project/ash/security/advisories/GHSA-36hg-wwp2-fg8w"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115635"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ash-project/ash_postgres/commit/8aa81220c401cae412d21078d11b3519ea25d3a9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ash-project/ash_postgres/commit/af0903f1380468bbe1b61fe65acb33772b5e24a5"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ash-project/ash_postgres"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "AshPostgres returns another tenant's record for a skipped upsert when return_skipped_upsert? is set"
}