{"answers":{"affected":"3 open source packages ship an affected version, including github.com/enchant97/note-mark/backend.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41571 exists.","fix":"Upgrade github.com/enchant97/note-mark/backend to 0.0.0-20260417132909-dea5530cc989 or later.","what":"CVE-2026-41571 is a critical authentication bypass vulnerability in enchant97 note-mark, published on 4 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41571 and fix it if it is affected.\n\nWhat it is: CVE-2026-41571 is a critical authentication bypass vulnerability in enchant97 note-mark, published on 4 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41571 exists.\n\nAffected packages and fixed versions:\n- github.com/enchant97/note-mark/backend (Go): affected all versions; fixed in 0.0.0-20260417132909-dea5530cc989\n- github.com/enchant97/note-mark/backend (Go): affected all versions; fixed in 0.0.0-20260417132909-dea5530cc989\n- github.com/enchant97/note-mark/backend (Go): affected all versions; fixed in 0.0.0-20260417132909-dea5530cc989\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-2026-41571/ (Markdown: https://insights.sbomify.com/CVE-2026-41571/index.md)","id":"CVE-2026-41571","markdown":"https://insights.sbomify.com/CVE-2026-41571/index.md","name":"CVE-2026-41571","record":{"aliases":["GHSA-pxf8-6wqm-r6hh","GO-2026-5557"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Note Mark application","requires_auth":"none","summary":"Attackers can authenticate as OIDC users by submitting the password 'null', gaining unauthorized access to their accounts.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"Note Mark is an open-source note-taking application. In version 0.19.2, IsPasswordMatch in backend/db/models.go falls back to a hard-coded bcrypt(\"null\") placeholder whenever a user has no stored password. OIDC-registered users are created with an empty password, so anyone who submits password: \"null\" to the internal login endpoint receives a valid session for that user. The bypass is unauthenticated and requires no user interaction. This issue has been patched in version 0.19.3.","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":"Note Mark: OIDC-registered users authenticated by submitting password \"null\"","id":"CVE-2026-41571","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Note Mark: Unauthenticated read of notes and assets in soft-deleted public books","id":"CVE-2026-41572"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260417132909-dea5530cc989"],"introduced":["0"],"last_affected":[],"package":"github.com/enchant97/note-mark/backend","purl":null,"source":"GHSA-pxf8-6wqm-r6hh"},{"ecosystem":"Go","fixed":["0.0.0-20260417132909-dea5530cc989"],"introduced":["0"],"last_affected":[],"package":"github.com/enchant97/note-mark/backend","purl":"pkg:golang/github.com/enchant97/note-mark/backend","source":"GHSA-pxf8-6wqm-r6hh"},{"ecosystem":"Go","fixed":["0.0.0-20260417132909-dea5530cc989"],"introduced":["0"],"last_affected":[],"package":"github.com/enchant97/note-mark/backend","purl":"pkg:golang/github.com/enchant97/note-mark/backend","source":"GO-2026-5557"}],"prev":{"headline":"PHPUnit: Argument injection via newline in PHP INI values forwarded to child processes","id":"CVE-2026-41570"},"products":["note-mark"],"published":"2026-05-04","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-04","vendors":["enchant97"]},"summary":"Attackers can authenticate as OIDC users by submitting the password 'null', gaining unauthorized access to their accounts.","url":"https://insights.sbomify.com/CVE-2026-41571/"}