CyberGuardAI 安全情报工作区
AI 安全知识情报
LJH 管理员

情报富化与证据核验

生成候选,由另一位分析员核验后发布。

← 返回本篇情报

LangChain: MongoDBChatMessageHistory query injection can allow cross-session access

当前版本 1 · 来源资料

来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页

本地生成规则候选或校验导入结果,每批最多 48 项。

风险信号

查看来源评分、风险提示与缺失项。

{
  "as_of": "2026-12-03",
  "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
  "document_id": "DOC-1385d12377f3825518e1e266",
  "epss": {
    "applicable": true,
    "signals": [
      {
        "cve": "CVE-2026-106119",
        "date": null,
        "percentile": null,
        "probability": null,
        "status": "not_queried"
      }
    ]
  },
  "known_exploited": {
    "date_added": null,
    "evidence": null,
    "listed": null,
    "status": "unknown"
  },
  "limitations": [
    "No asset exposure, causal attack chain or calibrated risk score is inferred.",
    "Publisher severity, known exploitation and prediction are separate signals."
  ],
  "priority": {
    "level": "review",
    "reasons": [
      {
        "rule": "KNOWN_SIGNAL_REVIEW",
        "text": "Available signals do not trigger elevated rules; this does not establish low risk."
      }
    ],
    "rule_version": "ict-risk-triage-v1",
    "score": null,
    "status": "requires_review",
    "unknowns": [
      "KEV membership or observation date is unknown; absence is not non-exploitation.",
      "Current EPSS is unavailable; missing or stale probability is not zero."
    ]
  },
  "publisher_cvss": [
    {
      "calculation_status": "not_configured",
      "computed_score": null,
      "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
      "document_id": "DOC-1385d12377f3825518e1e266",
      "evidence": {
        "format": "github_advisory",
        "json_path": "$[37].cvss_severities.cvss_v3",
        "quote": "{\"score\": 0.0, \"vector_string\": null}",
        "record_path": "$.cvss_severities.cvss_v3"
      },
      "publisher_value": {
        "score": 0.0,
        "vector": null
      },
      "valid_numeric_score": true,
      "version": 1
    },
    {
      "calculation_status": "not_configured",
      "computed_score": null,
      "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
      "document_id": "DOC-1385d12377f3825518e1e266",
      "evidence": {
        "format": "github_advisory",
        "json_path": "$[37].cvss_severities.cvss_v4",
        "quote": "{\"score\": 6.0, \"vector_string\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N\"}",
        "record_path": "$.cvss_severities.cvss_v4"
      },
      "publisher_value": {
        "score": 6.0,
        "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"
      },
      "valid_numeric_score": true,
      "version": 1
    }
  ],
  "schema_version": "ict-risk-signals-v1",
  "version": 1
}

候选与审核记录

待独立核验

来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页

2026-10-17 12:27 UTC · direct_model · 原文版本 1

finding

MongoDBChatMessageHistory未在运行时强制session标识符为字符串,结构化标识符可能被当作MongoDB查询条件。受影响条件:应用将不可信session标识符传入该类且多用户历史存于同一集合,攻击者可能读取、修改或删除他人会话。 [C1] [C2]

document:DOC-1385d12377f3825518e1e266 · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。

GHSA-m6rx-h84q-8r95 ## Impact `MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier. Applications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users’ histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user’s stored conversation. Applications that deri
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 0–600
from an untrusted request field. Upgrading remains the recommended remediation. affected_products: {"ecosystem": "npm", "name": "@langchain/mongodb"} affected_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "range": "<= 1.3.0"} fixed_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "version": "1.3.1"} cvss: {"score": 0.0, "vector": null} cvss: {"score": 6.0, "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"} references: {"types": ["WEB"], "url": "https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 1251–1851

finding

来源称可导致跨会话访问他人对话记录(读/改/删)。CVSS出现两个值:0.0(vector为空)与6.0(CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N),存在冲突,EPSS与实际利用成功率未提供。 [C2] [C1]

document:DOC-1385d12377f3825518e1e266 · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。

from an untrusted request field. Upgrading remains the recommended remediation. affected_products: {"ecosystem": "npm", "name": "@langchain/mongodb"} affected_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "range": "<= 1.3.0"} fixed_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "version": "1.3.1"} cvss: {"score": 0.0, "vector": null} cvss: {"score": 6.0, "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"} references: {"types": ["WEB"], "url": "https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 1251–1851
GHSA-m6rx-h84q-8r95 ## Impact `MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier. Applications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users’ histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user’s stored conversation. Applications that deri
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 0–600

finding

公告标题为LangChain的MongoDBChatMessageHistory查询注入导致跨会话访问,涉及npm包@langchain/mongodb;引用指向langchain-ai/langchainjs安全公告GHSA-m6rx-h84q-8r95(WEB类型)。 [C2] [C1]

document:DOC-1385d12377f3825518e1e266 · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。

from an untrusted request field. Upgrading remains the recommended remediation. affected_products: {"ecosystem": "npm", "name": "@langchain/mongodb"} affected_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "range": "<= 1.3.0"} fixed_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "version": "1.3.1"} cvss: {"score": 0.0, "vector": null} cvss: {"score": 6.0, "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"} references: {"types": ["WEB"], "url": "https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 1251–1851
GHSA-m6rx-h84q-8r95 ## Impact `MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier. Applications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users’ histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user’s stored conversation. Applications that deri
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 0–600

finding

来源为GitHub安全公告文本,列出受影响版本<=1.3.0、修复版本1.3.1及CVSS向量,但所选摘录未包含PoC、复现步骤或实验结果;独立复现情况未知。 [C2] [C1]

document:DOC-1385d12377f3825518e1e266 · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。

from an untrusted request field. Upgrading remains the recommended remediation. affected_products: {"ecosystem": "npm", "name": "@langchain/mongodb"} affected_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "range": "<= 1.3.0"} fixed_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "version": "1.3.1"} cvss: {"score": 0.0, "vector": null} cvss: {"score": 6.0, "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"} references: {"types": ["WEB"], "url": "https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 1251–1851
GHSA-m6rx-h84q-8r95 ## Impact `MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier. Applications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users’ histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user’s stored conversation. Applications that deri
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 0–600

finding

来源提及npm包@langchain/mongodb(受影响<=1.3.0,修复1.3.1)及MongoDBChatMessageHistory组件;本地资产清单未提供,无法断言本地存在该组件。 [C2] [C1]

document:DOC-1385d12377f3825518e1e266 · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。

from an untrusted request field. Upgrading remains the recommended remediation. affected_products: {"ecosystem": "npm", "name": "@langchain/mongodb"} affected_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "range": "<= 1.3.0"} fixed_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "version": "1.3.1"} cvss: {"score": 0.0, "vector": null} cvss: {"score": 6.0, "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"} references: {"types": ["WEB"], "url": "https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 1251–1851
GHSA-m6rx-h84q-8r95 ## Impact `MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier. Applications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users’ histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user’s stored conversation. Applications that deri
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 0–600

finding

来源明确建议升级为修复方案,升级至@langchain/mongodb 1.3.1;另可核查是否将不可信请求字段直接作为session标识符传入,并确认多用户历史是否共用同一集合。 [C2] [C1]

document:DOC-1385d12377f3825518e1e266 · 待另一位分析员核对语义支持;精确引文校验不证明结论真实。仅覆盖本次有界原文片段,没有独立Agent核验;产品适用信息不代表本地资产已匹配。

from an untrusted request field. Upgrading remains the recommended remediation. affected_products: {"ecosystem": "npm", "name": "@langchain/mongodb"} affected_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "range": "<= 1.3.0"} fixed_versions: {"package": {"ecosystem": "npm", "name": "@langchain/mongodb"}, "version": "1.3.1"} cvss: {"score": 0.0, "vector": null} cvss: {"score": 6.0, "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"} references: {"types": ["WEB"], "url": "https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 1251–1851
GHSA-m6rx-h84q-8r95 ## Impact `MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier. Applications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users’ histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user’s stored conversation. Applications that deri
来源网址https://github.com/advisories/GHSA-m6rx-h84q-8r95新标签页 核对原文位置 0–600

请另一位分析员核验。

查看交接版本
{
  "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
  "created_at": "2026-10-17T12:27:54.559007+00:00",
  "current": true,
  "document_id": "DOC-1385d12377f3825518e1e266",
  "effective_state": "review_required",
  "id": "DRV-b943db6d49374dffb1b5f4b6514f0cd7",
  "items": [
    {
      "entity_id": "document:DOC-1385d12377f3825518e1e266",
      "evidence": [
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 600,
          "quote": "GHSA-m6rx-h84q-8r95\n## Impact\n\n`MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier.\n\nApplications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users\u2019 histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user\u2019s stored conversation.\n\nApplications that deri",
          "start_offset": 0,
          "version": 1
        },
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 1851,
          "quote": "from an untrusted request field.\n\nUpgrading remains the recommended remediation.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"range\": \"\u003c= 1.3.0\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"version\": \"1.3.1\"}\ncvss: {\"score\": 0.0, \"vector\": null}\ncvss: {\"score\": 6.0, \"vector\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N\"}\nreferences: {\"types\": [\"WEB\"], \"url\": \"https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6",
          "start_offset": 1251,
          "version": 1
        }
      ],
      "field": "finding",
      "limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
      "scope": {
        "assessment_schema_version": "ict.assessment.model.v1",
        "assessment_section": "impact",
        "generation_mode": "direct_model",
        "model": "mimo-v2.6-pro",
        "pipeline_run_id": "ENR-123e4e792bec45e9b3d3ab3b8d41d569",
        "provider": "mimo"
      },
      "value": "MongoDBChatMessageHistory\u672a\u5728\u8fd0\u884c\u65f6\u5f3a\u5236session\u6807\u8bc6\u7b26\u4e3a\u5b57\u7b26\u4e32\uff0c\u7ed3\u6784\u5316\u6807\u8bc6\u7b26\u53ef\u80fd\u88ab\u5f53\u4f5cMongoDB\u67e5\u8be2\u6761\u4ef6\u3002\u53d7\u5f71\u54cd\u6761\u4ef6\uff1a\u5e94\u7528\u5c06\u4e0d\u53ef\u4fe1session\u6807\u8bc6\u7b26\u4f20\u5165\u8be5\u7c7b\u4e14\u591a\u7528\u6237\u5386\u53f2\u5b58\u4e8e\u540c\u4e00\u96c6\u5408\uff0c\u653b\u51fb\u8005\u53ef\u80fd\u8bfb\u53d6\u3001\u4fee\u6539\u6216\u5220\u9664\u4ed6\u4eba\u4f1a\u8bdd\u3002 [C1] [C2]"
    },
    {
      "entity_id": "document:DOC-1385d12377f3825518e1e266",
      "evidence": [
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 1851,
          "quote": "from an untrusted request field.\n\nUpgrading remains the recommended remediation.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"range\": \"\u003c= 1.3.0\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"version\": \"1.3.1\"}\ncvss: {\"score\": 0.0, \"vector\": null}\ncvss: {\"score\": 6.0, \"vector\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N\"}\nreferences: {\"types\": [\"WEB\"], \"url\": \"https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6",
          "start_offset": 1251,
          "version": 1
        },
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 600,
          "quote": "GHSA-m6rx-h84q-8r95\n## Impact\n\n`MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier.\n\nApplications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users\u2019 histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user\u2019s stored conversation.\n\nApplications that deri",
          "start_offset": 0,
          "version": 1
        }
      ],
      "field": "finding",
      "limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
      "scope": {
        "assessment_schema_version": "ict.assessment.model.v1",
        "assessment_section": "risk",
        "generation_mode": "direct_model",
        "model": "mimo-v2.6-pro",
        "pipeline_run_id": "ENR-123e4e792bec45e9b3d3ab3b8d41d569",
        "provider": "mimo"
      },
      "value": "\u6765\u6e90\u79f0\u53ef\u5bfc\u81f4\u8de8\u4f1a\u8bdd\u8bbf\u95ee\u4ed6\u4eba\u5bf9\u8bdd\u8bb0\u5f55\uff08\u8bfb/\u6539/\u5220\uff09\u3002CVSS\u51fa\u73b0\u4e24\u4e2a\u503c\uff1a0.0\uff08vector\u4e3a\u7a7a\uff09\u4e0e6.0\uff08CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N\uff09\uff0c\u5b58\u5728\u51b2\u7a81\uff0cEPSS\u4e0e\u5b9e\u9645\u5229\u7528\u6210\u529f\u7387\u672a\u63d0\u4f9b\u3002 [C2] [C1]"
    },
    {
      "entity_id": "document:DOC-1385d12377f3825518e1e266",
      "evidence": [
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 1851,
          "quote": "from an untrusted request field.\n\nUpgrading remains the recommended remediation.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"range\": \"\u003c= 1.3.0\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"version\": \"1.3.1\"}\ncvss: {\"score\": 0.0, \"vector\": null}\ncvss: {\"score\": 6.0, \"vector\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N\"}\nreferences: {\"types\": [\"WEB\"], \"url\": \"https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6",
          "start_offset": 1251,
          "version": 1
        },
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 600,
          "quote": "GHSA-m6rx-h84q-8r95\n## Impact\n\n`MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier.\n\nApplications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users\u2019 histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user\u2019s stored conversation.\n\nApplications that deri",
          "start_offset": 0,
          "version": 1
        }
      ],
      "field": "finding",
      "limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
      "scope": {
        "assessment_schema_version": "ict.assessment.model.v1",
        "assessment_section": "research",
        "generation_mode": "direct_model",
        "model": "mimo-v2.6-pro",
        "pipeline_run_id": "ENR-123e4e792bec45e9b3d3ab3b8d41d569",
        "provider": "mimo"
      },
      "value": "\u516c\u544a\u6807\u9898\u4e3aLangChain\u7684MongoDBChatMessageHistory\u67e5\u8be2\u6ce8\u5165\u5bfc\u81f4\u8de8\u4f1a\u8bdd\u8bbf\u95ee\uff0c\u6d89\u53canpm\u5305@langchain/mongodb\uff1b\u5f15\u7528\u6307\u5411langchain-ai/langchainjs\u5b89\u5168\u516c\u544aGHSA-m6rx-h84q-8r95\uff08WEB\u7c7b\u578b\uff09\u3002 [C2] [C1]"
    },
    {
      "entity_id": "document:DOC-1385d12377f3825518e1e266",
      "evidence": [
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 1851,
          "quote": "from an untrusted request field.\n\nUpgrading remains the recommended remediation.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"range\": \"\u003c= 1.3.0\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"version\": \"1.3.1\"}\ncvss: {\"score\": 0.0, \"vector\": null}\ncvss: {\"score\": 6.0, \"vector\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N\"}\nreferences: {\"types\": [\"WEB\"], \"url\": \"https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6",
          "start_offset": 1251,
          "version": 1
        },
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 600,
          "quote": "GHSA-m6rx-h84q-8r95\n## Impact\n\n`MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier.\n\nApplications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users\u2019 histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user\u2019s stored conversation.\n\nApplications that deri",
          "start_offset": 0,
          "version": 1
        }
      ],
      "field": "finding",
      "limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
      "scope": {
        "assessment_schema_version": "ict.assessment.model.v1",
        "assessment_section": "validation",
        "generation_mode": "direct_model",
        "model": "mimo-v2.6-pro",
        "pipeline_run_id": "ENR-123e4e792bec45e9b3d3ab3b8d41d569",
        "provider": "mimo"
      },
      "value": "\u6765\u6e90\u4e3aGitHub\u5b89\u5168\u516c\u544a\u6587\u672c\uff0c\u5217\u51fa\u53d7\u5f71\u54cd\u7248\u672c\u003c=1.3.0\u3001\u4fee\u590d\u7248\u672c1.3.1\u53caCVSS\u5411\u91cf\uff0c\u4f46\u6240\u9009\u6458\u5f55\u672a\u5305\u542bPoC\u3001\u590d\u73b0\u6b65\u9aa4\u6216\u5b9e\u9a8c\u7ed3\u679c\uff1b\u72ec\u7acb\u590d\u73b0\u60c5\u51b5\u672a\u77e5\u3002 [C2] [C1]"
    },
    {
      "entity_id": "document:DOC-1385d12377f3825518e1e266",
      "evidence": [
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 1851,
          "quote": "from an untrusted request field.\n\nUpgrading remains the recommended remediation.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"range\": \"\u003c= 1.3.0\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"version\": \"1.3.1\"}\ncvss: {\"score\": 0.0, \"vector\": null}\ncvss: {\"score\": 6.0, \"vector\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N\"}\nreferences: {\"types\": [\"WEB\"], \"url\": \"https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6",
          "start_offset": 1251,
          "version": 1
        },
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 600,
          "quote": "GHSA-m6rx-h84q-8r95\n## Impact\n\n`MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier.\n\nApplications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users\u2019 histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user\u2019s stored conversation.\n\nApplications that deri",
          "start_offset": 0,
          "version": 1
        }
      ],
      "field": "finding",
      "limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
      "scope": {
        "assessment_schema_version": "ict.assessment.model.v1",
        "assessment_section": "assets",
        "generation_mode": "direct_model",
        "model": "mimo-v2.6-pro",
        "pipeline_run_id": "ENR-123e4e792bec45e9b3d3ab3b8d41d569",
        "provider": "mimo"
      },
      "value": "\u6765\u6e90\u63d0\u53canpm\u5305@langchain/mongodb\uff08\u53d7\u5f71\u54cd\u003c=1.3.0\uff0c\u4fee\u590d1.3.1\uff09\u53caMongoDBChatMessageHistory\u7ec4\u4ef6\uff1b\u672c\u5730\u8d44\u4ea7\u6e05\u5355\u672a\u63d0\u4f9b\uff0c\u65e0\u6cd5\u65ad\u8a00\u672c\u5730\u5b58\u5728\u8be5\u7ec4\u4ef6\u3002 [C2] [C1]"
    },
    {
      "entity_id": "document:DOC-1385d12377f3825518e1e266",
      "evidence": [
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 1851,
          "quote": "from an untrusted request field.\n\nUpgrading remains the recommended remediation.\naffected_products: {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}\naffected_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"range\": \"\u003c= 1.3.0\"}\nfixed_versions: {\"package\": {\"ecosystem\": \"npm\", \"name\": \"@langchain/mongodb\"}, \"version\": \"1.3.1\"}\ncvss: {\"score\": 0.0, \"vector\": null}\ncvss: {\"score\": 6.0, \"vector\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N\"}\nreferences: {\"types\": [\"WEB\"], \"url\": \"https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6",
          "start_offset": 1251,
          "version": 1
        },
        {
          "content_hash": "1037e5686cdb6433c76429cb5638f2f93c4c3a22d2adc2eb583b8efba9eac841",
          "document_id": "DOC-1385d12377f3825518e1e266",
          "end_offset": 600,
          "quote": "GHSA-m6rx-h84q-8r95\n## Impact\n\n`MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal identifier.\n\nApplications are affected when they pass untrusted session identifier input to `MongoDBChatMessageHistory` and store multiple users\u2019 histories in the same collection. An attacker who can invoke chat-history operations may be able to read, modify, or delete another user\u2019s stored conversation.\n\nApplications that deri",
          "start_offset": 0,
          "version": 1
        }
      ],
      "field": "finding",
      "limitations": "\u5f85\u53e6\u4e00\u4f4d\u5206\u6790\u5458\u6838\u5bf9\u8bed\u4e49\u652f\u6301\uff1b\u7cbe\u786e\u5f15\u6587\u6821\u9a8c\u4e0d\u8bc1\u660e\u7ed3\u8bba\u771f\u5b9e\u3002\u4ec5\u8986\u76d6\u672c\u6b21\u6709\u754c\u539f\u6587\u7247\u6bb5\uff0c\u6ca1\u6709\u72ec\u7acbAgent\u6838\u9a8c\uff1b\u4ea7\u54c1\u9002\u7528\u4fe1\u606f\u4e0d\u4ee3\u8868\u672c\u5730\u8d44\u4ea7\u5df2\u5339\u914d\u3002",
      "scope": {
        "assessment_schema_version": "ict.assessment.model.v1",
        "assessment_section": "actions",
        "generation_mode": "direct_model",
        "model": "mimo-v2.6-pro",
        "pipeline_run_id": "ENR-123e4e792bec45e9b3d3ab3b8d41d569",
        "provider": "mimo"
      },
      "value": "\u6765\u6e90\u660e\u786e\u5efa\u8bae\u5347\u7ea7\u4e3a\u4fee\u590d\u65b9\u6848\uff0c\u5347\u7ea7\u81f3@langchain/mongodb 1.3.1\uff1b\u53e6\u53ef\u6838\u67e5\u662f\u5426\u5c06\u4e0d\u53ef\u4fe1\u8bf7\u6c42\u5b57\u6bb5\u76f4\u63a5\u4f5c\u4e3asession\u6807\u8bc6\u7b26\u4f20\u5165\uff0c\u5e76\u786e\u8ba4\u591a\u7528\u6237\u5386\u53f2\u662f\u5426\u5171\u7528\u540c\u4e00\u96c6\u5408\u3002 [C2] [C1]"
    }
  ],
  "owner_user_id": 1,
  "payload_sha256": "84fac2cff75217fa224018efd9efd036f884df0422c717f87602338bac7d47f9",
  "recipe": {
    "extractor_version": "enrichment-candidates-v1",
    "method": "direct_model",
    "model": "mimo-v2.6-pro",
    "prompt_version": "ict.assessment.model.v1",
    "schema_version": "ict.enrichment.derived.v1"
  },
  "recipe_hash": "0060c1511cc66bc145df30b063ff02652a2276d3e7032ff317391d124e50f894",
  "review_note": "",
  "reviewed_at": null,
  "reviewer_user_id": null,
  "source_version": 1,
  "state": "review_required",
  "updated_at": "2026-10-17T12:27:54.559007+00:00"
}
导入已有抽取结果

导入人工候选数组或 LangExtract JSON,须附当前版本的原文位置;合成与来源资料分开提交。