{"id":"CVE-2024-43798","aliases":["CVE-2024-43798","GHSA-38jh-8h67-m7mj","GO-2024-3100"],"related":[],"kind":"vulnerability","state":"published","title":"Chisel AUTH environment variable not respected in server entrypoint","summary":"Chisel is a fast TCP/UDP tunnel, transported over HTTP, secured via SSH. The Chisel server doesn't ever read the documented `AUTH` environment variable used to set credentials, which allows any unauthenticated user to connect, even if credentials were set. Anyone running the Chisel server that is using the `AUTH` environment variable to specify credentials to authenticate against is affected by this vulnerability. Chisel is often used to provide an entrypoint to a private network, which means services that are gated by Chisel may be affected. Additionally, Chisel is often used for exposing services to the internet. An attacker could MITM requests by connecting to a Chisel server and requesting to forward traffic from a remote port. This issue has been addressed in release version 1.10.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Chisel is a fast TCP/UDP tunnel, transported over HTTP, secured via SSH. The Chisel server doesn't ever read the documented `AUTH` environment variable used to set credentials, which allows any unauthenticated user to connect, even if credentials were set. Anyone running the Chisel server that is using the `AUTH` environment variable to specify credentials to authenticate against is affected by this vulnerability. Chisel is often used to provide an entrypoint to a private network, which means services that are gated by Chisel may be affected. Additionally, Chisel is often used for exposing services to the internet. An attacker could MITM requests by connecting to a Chisel server and requesting to forward traffic from a remote port. This issue has been addressed in release version 1.10.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe Chisel server doesn't ever read the documented `AUTH` environment variable used to set credentials, which allows any unauthenticated user to connect, even if credentials were set. This advisory is a formalization of a report sent to the maintainer via email.\n\n### Details\nIn the help page for the `chisel server` subcommand, it mentions an `AUTH` environment variable that can be set in order to provide credentials that the server should authenticate connections against: https://github.com/jpillora/chisel/blob/3de177432cd23db58e57f376b62ad497cc10840f/main.go#L138.\n\nThe issue is that the server entrypoint doesn't ever read the `AUTH` environment variable. The only place that this happens is in the client entrypoint: https://github.com/jpillora/chisel/blob/3de177432cd23db58e57f376b62ad497cc10840f/main.go#L452\n\nThis subverts the expectations set by the documentation, allowing unauthenticated users to connect to a Chisel server, even if auth is attempted to be set up in this manner.\n\n### PoC\nRun `chisel server`, first specifying credentials with the `AUTH` environment variable, then with the `--auth` argument. In the first case, the server allows connections without authentication, while in the second, the correct behavior is exhibited.\n\n### Impact\nAnyone who is running the Chisel server, and that is using the `AUTH` environment variable to specify credentials to authenticate against. Chisel is often used to provide an entrypoint to a private network, which means services that are gated by Chisel may be affected. Additionally, Chisel is often used for exposing services to the internet. An attacker could MITM requests by connecting to a Chisel server and requesting to forward traffic from a remote port.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Chisel's AUTH environment variable not respected in server entrypoint in github.com/jpillora/chisel","format":"markdown","source":"go"},{"lang":"es","text":"Chisel es un túnel TCP/UDP rápido, transportado a través de HTTP y protegido mediante SSH. El servidor Chisel nunca lee la variable de entorno documentada \"AUTH\" utilizada para establecer las credenciales, lo que permite que cualquier usuario no autenticado se conecte, incluso si se configuraron las credenciales. Cualquiera que ejecute el servidor Chisel y utilice la variable de entorno `AUTH` para especificar las credenciales con las que autenticarse se verá afectado por esta vulnerabilidad. Chisel se utiliza a menudo para proporcionar un punto de entrada a una red privada, lo que significa que los servicios controlados por Chisel pueden verse afectados. Además, Chisel se utiliza a menudo para exponer servicios a Internet. Un atacante podría realizar solicitudes MITM conectándose a un servidor Chisel y solicitando reenviar tráfico desde un puerto remoto. Este problema se solucionó en la versión 1.10.0. Se recomienda a todos los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.","source":"nvd"}],"published":"2024-08-26T22:32:43.575Z","modified":"2026-06-17T07:51:44.070Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-306","CWE-1068"],"affected":[{"ranges":[{"version":"< 1.10.0","status":"affected"}],"vendor":"jpillora","product":"chisel","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.10.0","status":"affected"}],"vendor":"jpillora","product":"chisel","cpe":"cpe:2.3:a:jpillora:chisel:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.0"}],"ecosystem":"Go","package":"github.com/jpillora/chisel","purl":"pkg:golang/github.com/jpillora/chisel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.0"}],"ecosystem":"Go","package":"github.com/jpillora/chisel","purl":"pkg:golang/github.com/jpillora/chisel","source":"go"}],"references":[{"url":"https://github.com/jpillora/chisel/security/advisories/GHSA-38jh-8h67-m7mj","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43798","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/jpillora/chisel","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/jpillora/chisel/blob/3de177432cd23db58e57f376b62ad497cc10840f/main.go#L138","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/jpillora/chisel/blob/3de177432cd23db58e57f376b62ad497cc10840f/main.go#L452","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-08-27T13:03:25.275Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43798","url":"https://www.cve.org/CVERecord?id=CVE-2024-43798","licence":"CVE Terms of Use","modified":"2024-08-27T13:06:11.097Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-38jh-8h67-m7mj","url":"https://github.com/advisories/GHSA-38jh-8h67-m7mj","licence":"CC-BY-4.0","modified":"2024-08-30T17:42:36.136Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3100","url":"https://pkg.go.dev/vuln/GO-2024-3100","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:45.966Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43798","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43798","licence":"Public domain","modified":"2026-06-17T07:51:44.070Z"}],"updatedAt":"2026-11-25T22:58:44.787Z","epss":{"score":0.0045,"percentile":0.4081,"date":"2026-12-01T12:00:22.000Z"}}