← Back to CVE Explorer

CVE-2026-13508

Full vulnerability record from the local CVENow database.

Description

A flaw has been found in khoj-ai khoj up to 2.0.0-beta.28. This impacts an unknown function of the file src/khoj/routers/api_chat.py of the component Conversation Sharing Handler. This manipulation of the argument conversation.agent causes incorrect authorization. Remote exploitation of the attack is possible. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.

Severity
LOW
CVSS score
2.0 (v4.0)
Vulnerability status
Deferred
Source identifier
Published
2026-06-28 22:16:48.303000
Last modified
2026-10-25 17:10:00.197000
View original CVE JSON
{
  "id": "CVE-2026-13508",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-28T22:16:48.303",
  "lastModified": "2026-10-25T17:10:00.197",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "A flaw has been found in khoj-ai khoj up to 2.0.0-beta.28. This impacts an unknown function of the file src/khoj/routers/api_chat.py of the component Conversation Sharing Handler. This manipulation of the argument conversation.agent causes incorrect authorization. Remote exploitation of the attack is possible. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance."
    },
    {
      "lang": "es",
      "value": "Se ha encontrado una vulnerabilidad en khoj-ai khoj hasta la versión 2.0.0-beta.28. Esto afecta a una función desconocida del archivo src/khoj/routers/api_chat.py del componente Gestor de Compartición de Conversaciones. Esta manipulación del argumento conversation.agent causa una autorización incorrecta. La explotación remota del ataque es posible. El exploit ha sido publicado y puede ser utilizado. La solicitud de extracción para solucionar este problema está pendiente de aceptación."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "khoj-ai",
          "product": "khoj",
          "cpes": [
            "cpe:2.3:a:khoj-ai:khoj:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "Conversation Sharing Handler"
          ],
          "versions": [
            {
              "version": "2.0.0-beta.0",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.1",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.2",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.3",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.4",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.5",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.6",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.7",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.8",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.9",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.10",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.11",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.12",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.13",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.14",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.15",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.16",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.17",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.18",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.19",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.20",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.21",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.22",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.23",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.24",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.25",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.26",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.27",
              "status": "affected"
            },
            {
              "version": "2.0.0-beta.28",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV40": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "4.0",
          "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
          "baseScore": 2.0,
          "baseSeverity": "LOW",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "attackRequirements": "NONE",
          "privilegesRequired": "LOW",
          "userInteraction": "PASSIVE",
          "vulnConfidentialityImpact": "LOW",
          "vulnIntegrityImpact": "LOW",
          "vulnAvailabilityImpact": "LOW",
          "subConfidentialityImpact": "NONE",
          "subIntegrityImpact": "NONE",
          "subAvailabilityImpact": "NONE",
          "exploitMaturity": "PROOF_OF_CONCEPT",
          "confidentialityRequirement": "NOT_DEFINED",
          "integrityRequirement": "NOT_DEFINED",
          "availabilityRequirement": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "Safety": "NOT_DEFINED",
          "Automatable": "NOT_DEFINED",
          "Recovery": "NOT_DEFINED",
          "valueDensity": "NOT_DEFINED",
          "vulnerabilityResponseEffort": "NOT_DEFINED",
          "providerUrgency": "NOT_DEFINED"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
          "baseScore": 5.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 2.1,
        "impactScore": 3.4
      }
    ],
    "cvssMetricV2": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "2.0",
          "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
          "baseScore": 6.5,
          "accessVector": "NETWORK",
          "accessComplexity": "LOW",
          "authentication": "SINGLE",
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "availabilityImpact": "PARTIAL"
        },
        "baseSeverity": "MEDIUM",
        "exploitabilityScore": 8.0,
        "impactScore": 6.4,
        "acInsufInfo": false,
        "obtainAllPrivilege": false,
        "obtainUserPrivilege": false,
        "obtainOtherPrivilege": false,
        "userInteractionRequired": false
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-29T13:39:09.379215Z",
          "id": "CVE-2026-13508",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-285"
        },
        {
          "lang": "en",
          "value": "CWE-863"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/khoj-ai/khoj/",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/khoj-ai/khoj/issues/1327",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/khoj-ai/khoj/pull/1328",
      "source": "[email protected]"
    },
    {
      "url": "https://vuldb.com/cve/CVE-2026-13508",
      "source": "[email protected]"
    },
    {
      "url": "https://vuldb.com/submit/838812",
      "source": "[email protected]"
    },
    {
      "url": "https://vuldb.com/vuln/374516",
      "source": "[email protected]"
    },
    {
      "url": "https://vuldb.com/vuln/374516/cti",
      "source": "[email protected]"
    }
  ]
}