Skip to content
Medium 5.9

Vulnerability in github.com/enchant97/note-mark/backend

CVE-2026-40265 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-40265 has been found in github.com/enchant97/note-mark/backend.
Attackers can target a specific entry point like notes over the network to misuse the product.
Confidential information can be exposed externally.
What to do: upgrade github.com/enchant97/note-mark/backend to 0.0.0-20260411145023-6593898855ad or later.
If unsure, ask your IT team or search "github.com/enchant97/note-mark/backend CVE-2026-40265" on the vendor's site.

CVE-2026-40265 (github.com/enchant97/note-mark/backend) — CWE-862
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: notes / books / noteID / assetID
Patched: 0.0.0-20260411145023-6593898855ad — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (CWE-862) exists in github.com/enchant97/note-mark/backend. Attackers reach the vulnerable code path via notes without authentication.

Affected scope

Check the vendor advisory for the affected versions of github.com/enchant97/note-mark/backend. Attack surface: notes / books / noteID / assetID.

Severity

Severity: ?. Confidential information can be exposed externally.

How to fix

Update to 0.0.0-20260411145023-6593898855ad.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'github.com/enchant97/note-mark/backend' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'github.com/enchant97/note-mark/backend' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/enchant97/note-mark/backend を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade github.com/enchant97/note-mark/backend to 0.0.0-20260411145023-6593898855ad

    ステージング環境で 0.0.0-20260411145023-6593898855ad に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Gogithub.com/enchant97/note-mark/backend
< 0.0.0-20260411145023-6593898855ad→ 0.0.0-20260411145023-6593898855ad
Original description The description as published by the source.

Note Mark is an open-source note-taking application. In versions 0.19.1 and prior, the asset download endpoint at /api/notes/{noteID}/assets/{assetID} is registered without authentication middleware, and the backend query does not verify ownership or book visibility. An unauthenticated user who knows a valid note ID and asset ID can retrieve the full contents of private note assets without authentication, regardless of whether the associated book is public or private. This issue has been fixed in version 0.19.2.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details