chili powder + dried thyme + cayenne pepper
if you really don't have many ingredients in your pantry, you can pull together a basic substitute for cajun seasoning using 1 tablespoon of chili powder, 1 teaspoon of dried thyme and 1/4- 1/2 teaspoon of cayenne pepper.