{"answers":{"affected":"4 open source packages ship an affected version, including go.thethings.network/lorawan-stack/v3 and go.thethings.network/lorawan-stack. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26494 exists.","fix":"Upgrade go.thethings.network/lorawan-stack/v3 to 3.24.1 or later.","what":"CVE-2023-26494 is a medium-severity vulnerability in TheThingsNetwork lorawan-stack, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-26494 and fix it if it is affected.\n\nWhat it is: CVE-2023-26494 is a medium-severity vulnerability in TheThingsNetwork lorawan-stack, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26494 exists.\n\nAffected packages and fixed versions:\n- go.thethings.network/lorawan-stack/v3 (Go): affected all versions; fixed in 3.24.1\n- go.thethings.network/lorawan-stack/v3 (Go): affected all versions; fixed in 3.24.1\n- go.thethings.network/lorawan-stack/v3 (Go): affected all versions; fixed in 3.24.1\n- go.thethings.network/lorawan-stack (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-26494/ (Markdown: https://insights.sbomify.com/CVE-2023-26494/index.md)","id":"CVE-2023-26494","markdown":"https://insights.sbomify.com/CVE-2023-26494/index.md","name":"CVE-2023-26494","record":{"aliases":["GHSA-5fwq-9x7j-2qpg","GO-2024-3044"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"LoRaWAN network server","requires_auth":"none","summary":"An open redirect in the login page allows attackers to redirect users to malicious sites, facilitating phishing attacks against LoRaWAN network server users.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"lorawan-stack","vendor":"thethingsnetwork"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"lorawan-stack is an open source LoRaWAN network server. Prior to version 3.24.1, an open redirect exists on the login page of the lorawan stack server, allowing an attacker to supply a user controlled redirect upon sign in. This issue may allows malicious actors to phish users, as users assume they were redirected to the homepage on login. Version 3.24.1 contains a fix.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"lorawan-stack has open redirect vulnerability","id":"CVE-2023-26494","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2023"},"n_packages":4,"n_references":5,"next":{"headline":"Use after free in n/a","id":"CVE-2023-26495"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"go.thethings.network/lorawan-stack","purl":"pkg:golang/go.thethings.network/lorawan-stack","source":"GO-2024-3044"},{"ecosystem":"Go","fixed":["3.24.1"],"introduced":["0"],"last_affected":[],"package":"go.thethings.network/lorawan-stack/v3","purl":null,"source":"GHSA-5fwq-9x7j-2qpg"},{"ecosystem":"Go","fixed":["3.24.1"],"introduced":["0"],"last_affected":[],"package":"go.thethings.network/lorawan-stack/v3","purl":"pkg:golang/go.thethings.network/lorawan-stack/v3","source":"GHSA-5fwq-9x7j-2qpg"},{"ecosystem":"Go","fixed":["3.24.1"],"introduced":["0"],"last_affected":[],"package":"go.thethings.network/lorawan-stack/v3","purl":"pkg:golang/go.thethings.network/lorawan-stack/v3","source":"GO-2024-3044"}],"prev":{"headline":"Command Injection in Cocos Engine workflow","id":"CVE-2023-26493"},"products":["lorawan-stack"],"published":"2023-04-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-04","vendors":["TheThingsNetwork"]},"summary":"An open redirect in the login page allows attackers to redirect users to malicious sites, facilitating phishing attacks against LoRaWAN network server users.","url":"https://insights.sbomify.com/CVE-2023-26494/"}