- Finding
- The team relay sees a member’s access token on each request. The same token is used to confirm the member’s first key. A malicious or compromised relay could thus slip a wrong first key to the manager and submit forged reports in the member’s name.
- Affects
- Self-hosted team relays. Keys that are already bound are not affected.
- Fix
- The invitation link now contains a per-member secret that never reaches the relay. Only a proof derived from it binds the first key. The proof from the relay token is no longer accepted. Without it (older links), the manager confirms the key by fingerprint. A test ensures that a valid relay token alone cannot bind a key.
Security assessment
Summary
- KimaiNext stores working data on your device. There is no account and no central data store. An attack on a KimaiNext server therefore yields no times, customers or invoices. The risk sits with your device and your browser instead.
- The web version does not encrypt. Data is stored readable in the browser profile. Encryption exists only in the desktop app, and only if you turn it on.
- All add-on services that send data out (email, calendar sync, Jira, team relay) are off by default. None of them is enabled on kimai.de.
- The review found six issues (one high, three medium, two low), the check of kimai.de two more. The high and all medium findings are fixed (SEC-01 to SEC-04, HOST-01). They are included in version 0.16.1. The three low findings are open (SEC-05, SEC-06, HOST-02). Details below.
- Whether KimaiNext is secure enough for your data depends mostly on how well your device is protected. This page describes what the app protects against and what it does not.
Where the data lives
Web version: times, projects, customers, invoices and settings are stored in the browser’s IndexedDB (database kimainext). If IndexedDB is unavailable, the app falls back to localStorage and says so. The data belongs to the browser profile and to the address the app runs on. Another browser, another profile or another address does not see it.
Desktop app: data is stored in the application profile of your user account on the computer.
No working data is sent to any server unless you use an add-on service. The app’s Content Security Policy only allows connections to its own server (connect-src 'self'), so the app technically cannot contact third-party servers.
Consequences for availability
- There is no sync. You move between devices only by backup and restore.
- Clearing site data in the browser (or letting a cleanup tool do it) deletes all data of the web version.
- The app asks the browser for persistent storage only after the first successful backup. Before that, the browser may evict the data when space runs low. A backup reminder is built in.
Encryption and app password
Web version: no encryption and no app password. Anyone with access to your browser profile can read the data. That includes anyone using your unlocked user account, malware on the device and browser extensions allowed to read all websites. The only protection at rest is your device’s (login and disk encryption).
Desktop app, data encryption (optional):
- AES-256-GCM with a random 12-byte IV per write.
- Key derived from the password with PBKDF2-SHA256, 310,000 iterations and a 16-byte random salt. The password needs at least 8 characters.
- The key exists in memory only. Stored are the salt, the iteration count and an encrypted check value.
- Without the password there is no recovery. The developer cannot rescue the data either.
- Not encrypted: language and colour scheme, the workspace directory (names and type) and the plugins’ file store. The latter holds, for example, received team reports, which arrive encrypted themselves.
App password without encryption (desktop app) is an access gate, not encryption. It protects against someone using the open app, not against someone who can read the user account’s files. Technically: PBKDF2-SHA256 with 210,000 iterations, at least 4 characters, constant-time comparison.
Backups
- A backup is a JSON file with all working data. In the web version it is always unencrypted. Treat it like a confidential document.
- Credentials (SMTP password, Jira token, CalDAV password) and team keys are not included in normal backups.
- Desktop app with data encryption: backups are encrypted with AES-256-GCM and your password (default) and can be opened with the password on another device. These encrypted backups also contain the credentials.
- Team keys have their own backup with their own password (PBKDF2-SHA256 310,000 iterations, AES-256-GCM).
Credentials for add-on services
Applies to the SMTP password (email), Jira access and CalDAV passwords (calendar):
- Default: current session only (
sessionStorage). They are gone when you close the tab or app. - “Remember” in the web version: persistent and unencrypted in
localStorage. Only by explicit choice. - Desktop app with data encryption: encrypted together with the other data.
- Team keys (private signing key, relay access) are stored unencrypted in
localStoragein the web version.
Outgoing connections
No tracking, no analytics, no telemetry. Fonts, icons and scripts come from the app’s own server, not from third parties. These are the only connections:
- Feedback (web version): only when you submit the form. Sent are type, title, text, an optional email address, app version and browser identifier, no working data. The IP address is only used as an HMAC value for rate limiting and is not stored with the report. Reports are kept until deleted manually. Feedback is disabled in the desktop app.
- Feedback administration (operator only): only the operator reads reports, in a separate administration. It is reachable over HTTPS only and requires a login. The password is stored only as a hash on the server. At most 10 login attempts per 15 minutes are allowed. Forms are protected against forged requests (CSRF token). The session cookie is limited to the administration and set as
Secure,HttpOnlyandSameSite=Strict. A session ends after one hour of inactivity, at the latest after 12 hours. The administration lives under the same address as the app. A flaw that lets foreign code run in the app could therefore also read the administration if the operator is logged in in the same browser. The operator should therefore open the administration in a separate browser profile. - Update check (desktop app): on click only. It fetches
https://kimai.de/downloads/latest.jsonwithout any app data. Nothing is installed automatically, the app only opens the download page. - Forwarders for email, calendar, Jira and team relay (web version): a browser may not contact these services directly, so a script on the installation’s server does it. The scripts are off by default and can only be enabled with a file outside the web folder. Credentials travel with each request and are neither stored nor logged. Targets are restricted: email and calendar only to public addresses and allowed ports, Jira only to Atlassian servers. Email and calendar additionally require an operator password.
- On kimai.de none of these forwarders is enabled (checked on the date above: Jira answers as locked, the others are not installed).
- Desktop app: email, Jira and calendar connect directly from your computer to the respective service, without any KimaiNext server.
Team features
Team features only run on self-hosted installations with their own team relay or in the desktop app. They are locked on kimai.de.
End-to-end encrypted: everything that goes through the team relay is encrypted and signed on the devices. The relay, even one run by someone else, cannot read any content. Only the manager can open reports. Metadata stays unencrypted (identifiers, sizes, times, IP addresses). This requires that the invitation link is handed over on a secure channel. In the web version the app’s code comes from the installation’s server. Only the desktop app therefore protects against a compromised server.
- Everything managers and members exchange is signed with ECDSA P-256.
- Reports to the manager are readable only by the manager (ECDH P-256, HKDF-SHA256, AES-256-GCM).
- On the relay, packages are additionally encrypted (AES-256-GCM): the catalog with a shared team key, feedback to a member with a key for that member only. When someone leaves the team or gets a new link, the team key changes. The relay operator cannot read contents. They see team and package identifiers, sizes, times, IP addresses and hashes of access tokens.
- A member’s first key is confirmed by a proof derived from a secret in the invitation link that never reaches the relay. For older links without that secret, the manager confirms the key by fingerprint.
- An invitation link contains the member’s access, their secret and the team key. Treat it like a password. The app removes it from the address bar and history after opening.
- Of the team relay findings, SEC-01 and SEC-02 are fixed. SEC-05 (scheduled cleanup) is open.
Findings and status
There is no indication of an incident or misuse. These are weaknesses found in the review and in the check of kimai.de. Fixed findings stay listed for traceability. The fixes are implemented and tested in the source code. They are included in version 0.16.1 and take effect on kimai.de once that version is deployed there.
- Finding
- A new invitation link rotates the member’s access, but not the shared team key. Someone holding an old link who obtains copies of relay data can keep decrypting the catalog and feedback.
- Affects
- Teams with former members or links that were passed on.
- Fix
- Feedback, lock lists and corrections are encrypted with a key for the respective member only. When a member is archived or deleted or gets a new link, the team key changes. The catalog is re-encrypted and the new key goes only to the remaining members. Copies taken before the change stay readable with the old key.
- Finding
- The HTTPS check of the forwarders and the relay trusts proxy header values a client can set. If the server is directly reachable or the proxy does not clean those headers, plain HTTP is accepted too. In the Go server this can also undermine IP allowlists and rate limits.
- Affects
- Self-hosted installations with enabled forwarders and a misconfigured proxy.
- Fix
- Values from proxy headers (X-Forwarded-Proto, X-Forwarded-For) only count when the direct connection comes from a configured proxy (Go:
-trusted-proxies, PHP:trusted_proxies). Plain HTTP is only allowed from the same machine and only with an explicit development setting. The Host header no longer decides this. Operators with a proxy on another machine must enter its address.
- Finding
- The Go server’s rate limiter keeps entries of inactive clients without bound. Concurrent requests can start the costly password check before failures are counted. This is an availability risk, not an authentication bypass.
- Affects
- Self-hosted Go servers with enabled services.
- Fix
- The rate limiter keeps only a fixed number of time slices per client, prunes expired entries of all clients and has a hard cap on entries. An attempt counts before the password is checked. Concurrent password checks are limited. Under load the server answers immediately, asking to retry later.
- Finding
- Expired packages on the relay (default 90 days) are only removed when there is traffic. For inactive teams, encrypted packages and their metadata stay longer.
- Affects
- Self-hosted team relays.
- Planned fix
- Scheduled cleanup independent of traffic.
- Finding
- The Windows build is not publisher-signed. The checksums on this website detect corrupted downloads but do not help if the website itself were tampered with. The download guide explains how to get past the SmartScreen warning.
- Affects
- Users of the Windows desktop app.
- Planned fix
- Sign the Windows packages, then remove the guide for bypassing the warning.
- Finding
- kimai.de and the web app are also reachable over unencrypted
http://. There is no redirect to HTTPS and no HSTS header. On an untrusted network (e.g. public Wi-Fi) an attacker could alter the app while it loads over HTTP and so reach the data in the browser. - Affects
- Visits to kimai.de over
http://. Not affected overhttps://. - Fix
- The server redirects HTTP to HTTPS and sends HSTS (one year). Only local addresses for development are exempt. Effective on kimai.de once version 0.16.1 is deployed.
- Finding
- The Jira forwarder has no operator password and no rate limit. It is locked on kimai.de.
- Affects
- Self-hosted installations with the Jira forwarder enabled.
- Planned fix
- Request and concurrency limits as for email and calendar.
Other known limits
- Workspaces separate data organisationally, not as a security boundary. Code on the same address can read all workspaces.
- A vulnerability that lets foreign code into the app (cross-site scripting) would have access to all data in the browser. The strict Content Security Policy (only own scripts, approved by hash) makes this considerably harder but does not rule it out in principle.
- Team: there is no forward secrecy. Whoever later obtains the manager’s private key can read stored reports. Shared keys stay valid until the next change. In the web version the team keys are stored unencrypted in the browser profile. End-to-end encryption protects transport and relay, not the device.
- In the desktop app the Content Security Policy comes from the frontend build, not from the shell configuration. A check on the finished installer is still pending.
- Dependencies of app and website were checked (
npm audit: no known vulnerabilities). Rust, Go and PHP dependencies and the server runtime were not checked.
What you can do
- Lock your user account with a password and turn on the operating system’s disk encryption (BitLocker, FileVault, LUKS). For the web version this is the only protection of the stored data.
- Open the app from a bookmark with
https://. The server does redirect to HTTPS (HOST-01), but the bookmark also protects the very first visit on an untrusted network. - Make regular backups and store the file safely. In the web version it is unencrypted.
- Do not use the web version on shared computers, or clear the site data afterwards. Do not “remember” credentials there.
- For confidential data use the desktop app with data encryption and keep the password safe.
- Use browser extensions sparingly. Extensions with access to all websites can read the app’s data too.
- Team: treat invitation links like passwords. Members with older links (without a member secret) should get a new link.
Method and updates
This assessment is based on a targeted review of the source code and configuration of version 0.16.0 and a read-only check of the installation on kimai.de (availability of services, security headers, Content Security Policy) on the date above. There was no penetration test and no third-party audit. This page is updated when findings are fixed or when storage, encryption or connections change.
Please report security vulnerabilities to the contact address in the imprint, not via the public feedback form.