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.

1.2 KB
Raw Blame

Opening a user database no longer follows a symlinked pathname. Replacing ldr_user_<hash>.db with a link pointing outside the data directory made the next open write a fresh multi-megabyte encrypted database at the link's target, with the account opening normally and nothing reported — the same one-shot primitive the create path refuses, with no race required (#6493).

The refusal is shared by every entry point that hands that pathname to SQLCipher: the login, and the metrics session that opens it independently. A password change is covered by composition, because it opens through the login path. Only the leaf is checked, so a data directory that is itself a symlink (a library on another volume) keeps working, and the log names the pathname and the link target, which is the only actionable evidence an operator has.

The refusal reads the pathname rather than asking the database layer to decline: neither sqlcipher3 nor the standard library's sqlite3 exposes SQLITE_OPEN_NOFOLLOW, which is an open flag of SQLite's C API and not a URI parameter. Same threat model as the create-path fix — a same-user or compromised account with write access to the 0700 data directory — so this is defence in depth rather than an advisory.