{"id":"CVE-2026-32982","aliases":["CVE-2026-32982","GHSA-xwcj-hwhf-h378"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.3.13 - Telegram Bot Token Exposure in Media Fetch Error Logs","summary":"OpenClaw before 2026.3.13 contains an information disclosure vulnerability in the fetchRemoteMedia function that exposes Telegram bot tokens in error messages. When media downloads fail, the original Telegram file URLs containing bot tokens are embedded in MediaFetchError strings and leaked to logs and error surfaces.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.3.13 contains an information disclosure vulnerability in the fetchRemoteMedia function that exposes Telegram bot tokens in error messages. When media downloads fail, the original Telegram file URLs containing bot tokens are embedded in MediaFetchError strings and leaked to logs and error surfaces.","source":"cvelist"},{"lang":"en","text":"### Summary\n`openclaw` versions `<= 2026.3.12` could include raw Telegram bot tokens in media fetch error strings when inbound Telegram media downloads failed.\n\n### Affected Packages / Versions\n- Package: `openclaw` (`npm`)\n- Affected versions: `<= 2026.3.12`\n- Fixed version: `2026.3.13`\n\n### Details\nThe vulnerable path was `fetchRemoteMedia()` in `src/media/fetch.ts`. In affected releases, fetch and HTTP error paths embedded the original Telegram file URL into `MediaFetchError` messages. For Telegram media, those URLs can include `/file/bot<TOKEN>/...`, so the resulting error strings could leak bot tokens into logs, console output, or any downstream error surface that rendered the exception text.\n\nThis issue is in scope under OpenClaw's trust model because the leaked secret is an OpenClaw-operated integration credential, not a user-supplied third-party secret.\n\n### Fix\n`openclaw@2026.3.13` redacts sensitive media URLs before constructing fetch error messages. Current code routes the source URL and follow-on error paths through `redactMediaUrl()` / `redactSensitiveText()`, so Telegram bot tokens are no longer emitted in those error strings.\n\nRegression coverage exists in `src/media/fetch.test.ts` (`redacts Telegram bot tokens from fetch failure messages` and `redacts Telegram bot tokens from HTTP error messages`).\n\n### Fix Commit(s)\n- `7a53eb7ea8295b08be137e231c9a98c1a79b5cd5`\n\nThanks @space08 for reporting.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.3.13 contiene una vulnerabilidad de revelación de información en la función fetchRemoteMedia que expone los tokens de bot de Telegram en los mensajes de error. Cuando las descargas de medios fallan, las URL de archivo originales de Telegram que contienen tokens de bot se incrustan en cadenas MediaFetchError y se filtran a los registros y a las superficies de error.","source":"nvd"}],"published":"2026-03-16T20:40:13.000Z","modified":"2026-07-25T10:10:00.167Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.3.13","status":"affected"},{"type":"semver","version":"2026.3.13","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.3.13"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.3.13"}],"vendor":"openclaw","product":"openclaw","cpe":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-xwcj-hwhf-h378","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/7a53eb7ea8295b08be137e231c9a98c1a79b5cd5","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-telegram-bot-token-exposure-in-media-fetch-error-logs","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["space08"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-02T15:05:55.594Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32982","url":"https://www.cve.org/CVERecord?id=CVE-2026-32982","licence":"CVE Terms of Use","modified":"2026-06-23T16:15:30.932Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xwcj-hwhf-h378","url":"https://github.com/advisories/GHSA-xwcj-hwhf-h378","licence":"CC-BY-4.0","modified":"2026-07-08T07:35:41.254Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32982","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32982","licence":"Public domain","modified":"2026-07-25T10:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:17.572Z","epss":{"score":0.00465,"percentile":0.41925,"date":"2026-12-02T12:00:21.000Z"}}