Skip to content
Heist/ feed
Back to feed
High

AshAi vectorize change leaks raw embedding-provider errors, including credentials, in a user-facing error

Type: advisorySources: OSV

Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai discloses provider request state and credentials in a user-facing validation error. In AshAi.Changes.Vectorize, when the embedding provider call fails the change added a changeset error whose message inspected the raw error term (An error occurred while generating embeddings: #{inspect(error)}). A plain-string add_error produces an Ash.Error.Changes.InvalidChanges in the :invalid class, which AshJsonApi and AshGraphql render back to the caller. The embedding client's error term is not sanitized, so it can carry the request URL, the provider response body, and, for HTTP clients that keep the request in the error struct, the outbound Authorization header with the provider API key. Failures are attacker-reachable via oversized or malformed vectorized content. The fix logs the raw error and returns a generic message. This issue affects ash_ai: from 0.1.0 before 1.0.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-75760
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 16:21 UTC · Revision 1

Source evidence

AshAi vectorize change leaks raw embedding-provider errors, including credentials, in a user-facing error

core-osv · Original source

Published 31 Aug 2026, 01:09 UTC

Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai discloses provider request state and credentials in a user-facing validation error. In AshAi.Changes.Vectorize, when the embedding provider call fails the change added a changeset error whose message inspected the raw error term (An error occurred while generating embeddings: #{inspect(error)}). A plain-string add_error produces an Ash.Error.Changes.InvalidChanges in the :invalid class, which AshJsonApi and AshGraphql render back to the caller. The embedding client's error term is not sanitized, so it can carry the request URL, the provider response body, and, for HTTP clients that keep the request in the error struct, the outbound Authorization header with the provider API key. Failures are attacker-reachable via oversized or malformed vectorized content. The fix logs the raw error and returns a generic message. This issue affects ash_ai: from 0.1.0 before 1.0.0.

osv:CVE-2026-75760
Complete source record
{
  "id": "3daec1011e3b65f9f032c06f887f42f4a40edd42fc60eda6b3eafef71e9fb1fd",
  "url": "https://osv.dev/vulnerability/CVE-2026-75760",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "AshAi vectorize change leaks raw embedding-provider errors, including credentials, in a user-facing error",
    "summary": "Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai discloses provider request state and credentials in a user-facing validation error. In AshAi.Changes.Vectorize, when the embedding provider call fails the change added a changeset error whose message inspected the raw error term (An error occurred while generating embeddings: #{inspect(error)}). A plain-string add_error produces an Ash.Error.Changes.InvalidChanges in the :invalid class, which AshJsonApi and AshGraphql render back to the caller. The embedding client's error term is not sanitized, so it can carry the request URL, the provider response body, and, for HTTP clients that keep the request in the error struct, the outbound Authorization header with the provider API key. Failures are attacker-reachable via oversized or malformed vectorized content. The fix logs the raw error and returns a generic message. This issue affects ash_ai: from 0.1.0 before 1.0.0.",
    "evidence": "osv:CVE-2026-75760",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-75760",
      "aliases": [
        "CVE-2026-75760",
        "EEF-CVE-2026-75760",
        "GHSA-p5cr-mmmf-6w39"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ash-project/ash_ai",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5334edc73a007f0629661761d6a75796f2fc0004"
                },
                {
                  "fixed": "088a2562e16d65f36cec178070de683636479f58"
                },
                {
                  "introduced": "9be71660e448d601b6b5d1846d227c0b52fb64ac"
                },
                {
                  "fixed": "f72b14744996e71df6d73480d617d963f340597b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "5334edc73a007f0629661761d6a75796f2fc0004"
                      },
                      {
                        "fixed": "088a2562e16d65f36cec178070de683636479f58"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.1.0"
                      },
                      {
                        "fixed": "1.0.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "088a2562e16d65f36cec178070de683636479f58"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.1",
            "v0.6.0",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.14",
            "v0.2.13",
            "v0.2.12",
            "v0.2.11",
            "v0.2.10",
            "v0.2.9",
            "v0.2.8",
            "v0.2.7",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.1.11",
            "v0.1.10",
            "v0.1.9",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-75760.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.398781705Z",
      "provider": "osv",
      "references": [
        "https://cna.erlef.org/cves/CVE-2026-75760.html",
        "https://github.com",
        "https://osv.dev/vulnerability/EEF-CVE-2026-75760",
        "https://repo.hex.pm",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75760.json",
        "https://github.com/ash-project/ash_ai/security/advisories/GHSA-p5cr-mmmf-6w39",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-75760",
        "https://github.com/ash-project/ash_ai/commit/088a2562e16d65f36cec178070de683636479f58",
        "https://github.com/ash-project/ash_ai"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-209"
        ],
        "cna_assigner": "EEF",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75760.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-75760",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519860,
  "published_at": "2026-08-31T01:09:59.413+00:00"
}