Please do not report security vulnerabilities through public GitHub issues, Discussions, or pull requests.
Taskist stores user credentials, project data and access tokens for Git providers, so we ask that suspected vulnerabilities are reported privately to give us time to publish a fix before details become public.
Report a vulnerability in either of these ways:
- GitHub: Open a private security advisory (preferred)
- Email: taskist@outlook.in with the subject line
SECURITY
Please include as much of the following as you can:
- The type of issue (for example: privilege escalation, injection, authentication bypass, SSRF)
- The affected file, endpoint, or component
- Steps to reproduce, or a proof of concept
- The version or commit you tested against
- What an attacker could achieve with it
| Stage | Target |
|---|---|
| Acknowledgement of your report | Within 3 working days |
| Initial assessment and severity | Within 7 working days |
| Fix released for confirmed issues | As soon as practical, prioritised by severity |
We will keep you updated as we work on the issue, and we are happy to credit you in the release notes and advisory unless you would prefer to remain anonymous.
Taskist is a volunteer-maintained open-source project. We do not currently operate a paid bug bounty, but we genuinely appreciate the time researchers spend on it.
In scope:
- The Taskist application source code in this repository
- Default configuration and seed scripts shipped in this repository
- The Dockerfiles and compose file
Out of scope:
- The demo site at
demo.taskist.org— please do not run automated scanners or destructive tests against it - Vulnerabilities in third-party dependencies that already have a public advisory (please report those upstream, though we welcome a heads-up)
- Issues that require an already-compromised host or physical access
- Missing hardening headers with no demonstrated impact
Security fixes are applied to the latest release. We recommend always running the most recent version.
| Version | Supported |
|---|---|
| Latest release | ✅ |
| Older releases | ❌ |
Taskist is self-hosted, so several security properties depend on how you deploy it.
- Terminate TLS. With the default
Security:RequireHttpsCookies=true, the sign-in cookie is markedSecure, so sign-in only works over HTTPS. Set it tofalseonly for a deliberately plain-HTTP setup such as the local Docker sample; Taskist logs a warning at startup when it is off outside Development. - Behind a reverse proxy, enable
Security:ForwardedHeaders:Enabledand list the proxy inKnownProxies/KnownNetworks. Only listed proxies (and loopback) are trusted, so clients cannot spoof their IP address or scheme. Invalid entries stop the application from starting.
Taskist has no encryption key setting of its own. All secrets — Git access tokens, OAuth client secrets, webhook secrets, notification channel URLs and signing secrets, password-reset tokens and authentication cookies — are protected with ASP.NET Core Data Protection.
- The key ring lives in
App_Data/DataProtectionKeys(orDataProtection:KeysPath). The application refuses to start if that folder is not writable. - Back it up. Losing it signs everyone out and makes every stored secret unreadable; they then have to be re-entered.
- Protect it at rest with
DataProtection:CertificatePath(+CertificatePassword),DataProtection:CertificateThumbprint, orDataProtection:ProtectWithDpapion Windows. Taskist logs a startup warning in Production, and shows one on the Integration settings tab, while the key ring is unprotected. - In Docker, the key ring is the
taskist-keysvolume.docker compose down -vdeletes it.
Secrets are write-only in the UI and are never written to the activity log.
- Passwords are hashed with PBKDF2-HMAC-SHA512, 210,000 iterations and a per-user random salt, stored in a self-describing format. Hashes made with fewer iterations are upgraded transparently on the next successful sign-in.
- Password length, failed-attempt limit, session length, reset-token lifetime and password expiry are set under Configuration → Settings → Security. When the failed-attempt limit is reached the account is locked until an administrator unlocks it.
- The forgot-password endpoint is rate limited per IP address.
- Change the seeded
admin@taskist.orgpassword immediately after installation.
Users with a password can turn on authenticator-app codes (TOTP, RFC 6238: 6 digits, 30-second steps) under My profile → Security. Setup in docs/two-factor.md.
- Secrets are 160-bit random keys, stored encrypted with Data Protection (like other stored secrets) and never written to the audit log. The QR code is generated on the server; nothing is sent to an outside service.
- Codes are accepted for the current 30-second step ±1 and only once: a code, or any older one, can't be replayed after a successful sign-in.
- Recovery codes: ten single-use codes, about 50 bits each, stored as SHA-256 hashes and shown only once. Turning two-factor off or creating new codes requires a current code.
- Wrong codes count towards the same failed-attempt lock-out as wrong passwords, and the counter is only reset after the second step succeeds. Each sign-in attempt also allows at most five codes before the user has to start again with their password. The half-finished sign-in lives in a separate, encrypted five-minute cookie, so a correct password alone never creates a session.
- "Don't ask again on this device" (
Authentication:TwoFactor:RememberDeviceDays, default 30,0turns it off) sets an encrypted, HttpOnly, always-Secure cookie (so it only works over HTTPS) tied to the user and to when two-factor was last turned on, so it stops working as soon as two-factor is reset or turned off and on again. - Administrators can be required to use it (
Authentication:TwoFactor:RequireForAdministrators): until they set it up, administrators who signed in with only a password are limited to their profile page. - Resetting: an administrator can reset a user's two-factor sign-in from the user's page (recorded in the activity log for both accounts). Keep this in mind for your support process: anyone who can convince an administrator to reset it is back to password-only.
- Single sign-on users are not asked for a Taskist code; enforce MFA at your identity provider.
Taskist can sign users in through an OpenID Connect provider (Authentication:Oidc, off by default; setup in docs/sso.md).
- Protocol: authorization code flow with PKCE; state and nonce are checked, and the provider's signing keys and issuer are taken from its discovery document over HTTPS (
RequireHttpsMetadata, on by default). Provider tokens are not stored. - Client secret comes from configuration or environment variables only and is never stored in the database or shown in the UI.
- Matching users: a sign-in is tied to the provider's issuer and subject ID. On the first sign-in it is linked to an existing Taskist account only when the provider reports the e-mail address as verified (
RequireVerifiedEmail, on by default), and never to an account already linked to a different identity at the same provider. - New accounts are created only when
AutoProvisionis on, and get the Registered role only — no project access until an administrator grants it. - Role mapping (
RoleClaim+RoleMappings) only adds the roles listed in the mapping; it never removes roles and cannot grant a role that isn't listed. Mapping a group toSystemAdministratormakes that group's membership at the provider equivalent to admin rights in Taskist — do so deliberately. - Account status still applies: locked, inactive and deleted users are refused, and existing sessions are re-checked every 15 minutes as before.
- SSO-only mode (
DisableLocalLogin) hides the password form and refuses password sign-in for everyone except system administrators, who keep it at/Login?local=1so a broken identity provider can't lock you out. Keep at least one administrator with a strong password. - Signing out of Taskist does not sign the user out of the identity provider.
- A project's wiki — page content, tree, history, linked tasks and Word export — is visible only to members of that project who also hold the Wiki permission. Requests for pages in other projects get an empty or "not found" response that does not reveal whether the page exists.
- Editing (create, save, rename, move, delete, restore) additionally requires the member's Can add wiki right.
- Pages and folders can only be moved within their own project; a folder cannot be moved into itself or one of its sub-folders; a version can only be restored onto the page it belongs to.
- Wiki images are recorded against the page's project when they are uploaded (uploading requires edit rights on that page) and are served only to the uploader and to people who can view that project. Pasting another project's image URL into your own page does not grant access, even before the original page is saved. Images uploaded before this record existed fall back to the first page that saved a reference to them. The image endpoint never serves profile photos or task attachments, and the Word export embeds only images the reader may view.
- Task attachments can only be downloaded by users who can see the task, and only added or removed by users who can edit it.
- Uploads are limited to an allow-list of file types and a size cap (
UploadPolicyinTaskist.Core). Wiki images and profile photos accept raster images only (PNG, JPEG, GIF, WebP, BMP); SVG is not accepted. - Files are served as downloads with
X-Content-Type-Options: nosniff; only raster images are shown inline, with a content type derived from the file extension rather than from the uploader. - Files uploaded before a task is saved are linked through a signed, user-bound token that expires after a day.
- Git webhooks must be configured with a secret; deliveries without a valid signature or token are rejected. The webhook endpoint is rate limited.
- Outbound requests to Git providers and chat services go through hardened HTTP clients that use HTTPS only, do not follow redirects, and refuse loopback, link-local and cloud-metadata addresses. Notification channels are also restricted to the expected host for their type.
- Branch creation, merge/pull requests, approvals and merges always use the acting user's own Git token, so the provider's own permission rules apply.
Taskist can send unhandled exceptions and errors logged by the application to Sentry. It is off by default and starts only when Sentry:Enabled is true and Sentry:Dsn is a valid DSN; otherwise the SDK is never initialised, and a misconfiguration is logged as a startup warning.
When enabled, every event is filtered before it leaves the server:
- Not sent: request bodies, cookies, query strings (they can carry password-reset tokens) — also stripped from URLs inside log breadcrumbs and exception messages — and the
Authorization,Cookie, antiforgery and webhook-signature headers. - Users are identified by their numeric Taskist user ID only — no name, e-mail address or IP address (
SendDefaultPiiis always off). - Performance tracing is off unless
Sentry:TracesSampleRateis set above0.
Exception messages and stack traces are sent as they are, so treat your Sentry project as holding operational data and restrict who can see it.
- Restrict the Hangfire dashboard.
/hangfireis limited to administrators and users with the Manage Jobs permission; consider also blocking it at your reverse proxy. - Use a least-privilege SQL login, not
sa. The Docker sample usessafor convenience only. - Never commit real secrets.
appsettings.Development.json,appsettings.Production.jsonand.envare git-ignored. Prefer environment variables or user-secrets. - Run with
ASPNETCORE_ENVIRONMENT=Production. Detailed errors, sensitive-data logging and MiniProfiler are enabled only in Development. - Keep current. Watch this repository for releases.