<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-10T13:10:19.247400+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-62376</id>
    <title>fkie_cve-2026-62376</title>
    <updated>2026-10-10T13:10:19.249114+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Vikunja is an open-source self-hosted task management platform. Versions prior to 2.4.0 store password-reset, email-confirmation, and account-deletion tokens in the `user_tokens` table in plaintext. If an attacker gains read access to the database through a backup leak, misconfigured storage, or SQL-level exposure, they can immediately use pending tokens to take over user accounts without knowing passwords. Version 2.4.0 fixes the issue.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-62376"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-r6w9-259g-gwrv</id>
    <title>GHSA-r6w9-259g-gwrv — Vikunja: Plaintext storage of password-reset/email-confirm tokens in database enables account takeover on DB read access</title>
    <updated>2026-10-10T13:10:19.249198+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: code.vikunja.io/api</p>
<p>### Summary</p>
<p>Vikunja stores password-reset, email-confirmation, and account-deletion tokens in the `user_tokens` table in **plaintext**. If an attacker gains read access to the database through a backup leak, misconfigured storage, or SQL-level exposure, they can immediately use pending tokens to take over user accounts without knowing passwords.</p>
<p>### Details</p>
<p>`pkg/user/token.go` — `genToken()` stores the raw random string directly:
```go
func genToken(u *User, kind TokenKind) (*Token, error) {
    tokenStr, err := utils.CryptoRandomString(tokenSize)
    ...
    return &amp;Token{
        UserID: u.ID,
        Kind:   kind,
        Token:  tokenStr,  // stored as-is, no hashing
    }, nil
}
```</p>
<p>Lookup also uses plaintext equality:
```go
func getToken(s *xorm.Session, token string, kind TokenKind) (t *Token, err error) {
    has, err := s.Where("kind = ? AND token = ?", kind, token).Get(t)
}
```</p>
<p>Affected token types:
- `TokenPasswordReset` (`pkg/user/user_password_reset.go:120`)
- `TokenEmailConfirm` (`pkg/user/user_create.go:101`, `pkg/user/update_email.go:88`)
- `TokenAccountDeletion` (`pkg/user/delete.go:102`)</p>
<p>Note: CalDAV tokens correctly use `generateHashedToken` with bcrypt — the same protection is absent for the above types.</p>
<p>### PoC</p>
<p>```sql
-- Attacker with DB read dumps all pending password-reset tokens:
SELECT u.email, t.token FROM user_tokens t
JOIN users u ON u.id = t.user_id WHERE t.kind = 1;</p>
<p>-- Then takes over any account:
curl -X POST https://vikunja.example.co…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-r6w9-259g-gwrv"/>
  </entry>
</feed>
