Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: suppress 5 false-positive security scan alerts (#2822)

LearningCircuit2435d36a2145
diff --git a/.github/workflows/nuclei.yml b/.github/workflows/nuclei.yml
index 47563b0114..bae623471e 100644
--- a/.github/workflows/nuclei.yml
+++ b/.github/workflows/nuclei.yml
@@ -97,7 +97,11 @@ jobs:
- name: Run Nuclei scan
uses: projectdiscovery/nuclei-action@32a91c0da7be14c07b0ade6c14fa0f6e78d97c9c # v3.1.0
with:
- args: -target http://localhost:5000 -sarif-export nuclei.sarif -output nuclei.log
+ # Exclude http-missing-security-headers: all recommended headers are
+ # already set (see security/security_headers.py). The alert fires
+ # because HSTS is correctly omitted on plain HTTP (localhost) and
+ # X-XSS-Protection is intentionally omitted (deprecated, replaced by CSP).
+ args: -target http://localhost:5000 -eid http-missing-security-headers -sarif-export nuclei.sarif -output nuclei.log
- name: Upload Nuclei SARIF to GitHub Security tab
uses: github/codeql-action/upload-sarif@19b2f06db2b6f5108140aeb04014ef02b648f789 # v4.31.11
diff --git a/.grype.yaml b/.grype.yaml
index 57c578436c..ddcacd3693 100644
--- a/.grype.yaml
+++ b/.grype.yaml
@@ -3,7 +3,7 @@
# See: https://github.com/anchore/grype#specifying-matches-to-ignore
#
# Review Policy: All suppressions should be reviewed periodically.
-# Last full review: 2026-03-02
+# Last full review: 2026-03-17
ignore:
# ==========================================================================
@@ -47,8 +47,6 @@ ignore:
reason: "Sealed journal truncation bypass. Disputed by upstream. Debian: unimportant."
- vulnerability: CVE-2023-31439
reason: "Sealed journal event modification. Disputed by upstream. Debian: unimportant."
- - vulnerability: CVE-2026-4105
- reason: "machined RegisterMachine privilege escalation. Needs custom polkit policy + D-Bus. Not exploitable in container. No fix in Trixie (sid 260~rc4-1)."
# --- shadow (passwd/login.defs) ---
- vulnerability: CVE-2007-5686
@@ -173,6 +171,12 @@ ignore:
reason: "External entity parser missing encoding handler copy. Debian trixie no-dsa. Sid 2.7.4-1."
- vulnerability: CVE-2026-25210
reason: "Integer overflow in doContent tag buffer realloc. Debian trixie no-dsa. Sid 2.7.4-1."
+ - vulnerability: CVE-2026-32776
+ reason: "NULL deref in empty external parameter entity. Needs expat 2.7.5, not in Trixie or sid. DoS only (CVSS 4.0). API XML uses defusedxml; XML upload uses lxml/libxml2 (not expat)."
+ - vulnerability: CVE-2026-32777
+ reason: "Infinite loop in DTD parsing. Needs expat 2.7.5, not in Trixie or sid. Local attack vector, DoS only (CVSS 4.0). API XML uses defusedxml; XML upload uses lxml/libxml2 (not expat)."
+ - vulnerability: CVE-2026-32778
+ reason: "NULL deref in setContext after OOM. Needs expat 2.7.5, not in Trixie or sid. CNA CVSS 2.9 Low / NIST CVSS 5.5 Medium. Requires OOM precondition."
# --- libxml2 ---
- vulnerability: CVE-2026-1757
@@ -217,6 +221,8 @@ ignore:
reason: "Memory leak via crafted SQL on corrupt DB. Debian: unimportant. Negligible impact."
- vulnerability: CVE-2025-7709
reason: "FTS5 tombstone integer overflow. Debian trixie no-dsa. Sid 3.46.1-9."
+ - vulnerability: CVE-2025-70873
+ reason: "Info disclosure in zipfileInflate. Python sqlite3 module does not load zipfile extension. Not exploitable."
# --- ncurses ---
- vulnerability: CVE-2025-6141
diff --git a/.trivyignore b/.trivyignore
index b5b296a088..09ed9387ad 100644
--- a/.trivyignore
+++ b/.trivyignore
@@ -67,6 +67,15 @@ CVE-2025-66382 exp:2026-07-01
# Tracking: https://security-tracker.debian.org/tracker/CVE-2025-7709
CVE-2025-7709 exp:2026-07-01
+# CVE-2025-70873: SQLite zipfileInflate info disclosure
+# Severity: LOW
+# Review: 2026-09-01
+#
+# NOT EXPLOITABLE: Python's sqlite3 module does not load the zipfile
+# extension by default. The vulnerable code path is never executed.
+# Tracking: https://security-tracker.debian.org/tracker/CVE-2025-70873
+CVE-2025-70873 exp:2026-09-01
+
# =============================================================================
# VENDORED DEPENDENCY
# =============================================================================
@@ -140,6 +149,35 @@ CVE-2026-0861 exp:2026-09-01
# Tracking: https://security-tracker.debian.org/tracker/CVE-2026-0915
CVE-2026-0915 exp:2026-09-01
+# CVE-2026-32776: libexpat NULL deref in empty external parameter entity
+# Severity: MEDIUM (CVSS 4.0)
+# Review: 2026-09-01
+#
+# UNFIXABLE: Needs expat 2.7.5, not available in Trixie or sid.
+# DoS only via DTD processing. API XML (PubMed/arXiv) uses defusedxml;
+# XML file upload uses lxml/libxml2 (not expat). Low exploitability.
+# Tracking: https://security-tracker.debian.org/tracker/CVE-2026-32776
+CVE-2026-32776 exp:2026-09-01
+
+# CVE-2026-32777: libexpat infinite loop in DTD parsing
+# Severity: MEDIUM (CVSS 4.0)
+# Review: 2026-09-01
+#
+# UNFIXABLE: Needs expat 2.7.5, not available in Trixie or sid.
+# Local attack vector, DoS only. API XML (PubMed/arXiv) uses defusedxml;
+# XML file upload uses lxml/libxml2 (not expat). Low exploitability.
+# Tracking: https://security-tracker.debian.org/tracker/CVE-2026-32777
+CVE-2026-32777 exp:2026-09-01
+
+# CVE-2026-32778: libexpat NULL deref in setContext after OOM
+# Severity: LOW per CNA (CVSS 2.9) / MEDIUM per NIST (CVSS 5.5)
+# Review: 2026-09-01
+#
+# UNFIXABLE: Needs expat 2.7.5, not available in Trixie or sid.
+# Requires OOM precondition to trigger. Crash only, no code execution.
+# Tracking: https://security-tracker.debian.org/tracker/CVE-2026-32778
+CVE-2026-32778 exp:2026-09-01
+
# CVE-2019-1010023: libc6 — library remapping via ldd
# Severity: HIGH
# Review: 2026-09-01